From 5a263fa85a1ca650b12592d01af70a9bd6a2f8be Mon Sep 17 00:00:00 2001 From: Aakash Amod Rajput <126223325+aakash-a-dev@users.noreply.github.com> Date: Tue, 19 Dec 2023 18:16:48 +0530 Subject: [PATCH] Added the Missing Example in data.json --- src/templates/pages/reference/data.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/templates/pages/reference/data.json b/src/templates/pages/reference/data.json index 3a7f9eaea5..c1d858ab43 100644 --- a/src/templates/pages/reference/data.json +++ b/src/templates/pages/reference/data.json @@ -9088,7 +9088,7 @@ "itemtype": "property", "name": "function", "example": [ - "\n
\nlet myName = 'Hridi';\nfunction sayHello(name) {\n console.log('Hello ' + name + '!');\n}\nsayHello(myName); // calling the function, prints \"Hello Hridi!\" to console.\n
\n\nlet square = number => number * number;\nconsole.log(square(5));\n
\n\nlet myName = 'Hridi';\nfunction sayHello(name) {\n console.log('Hello ' + name + '!');\n}\nsayHello(myName); // calling the function, prints \"Hello Hridi!\" to console.\n
\n\nlet square = number => number * number;\nconsole.log(square(5)); // calling the function and printing in console, prints \"25\" to console. \n
\n