File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ // const function = (parameter) => {
2
+ // code block function body
3
+
4
+ // };
5
+
6
+
7
+ //const function =(parameter) => {
8
+ // function body
9
+ //};
10
+
11
+ //const add = (a,b)=> a+b;
12
+ //console.log(add(2,3));
13
+
14
+ /*const add = (a,b )=> a+b;
15
+ console.log(add(2,7));
16
+ *
17
+
18
+ const add = (a,b) => a+b;
19
+ console.log(add(2,8));
20
+ /
21
+
22
+ const add = (a,b)=> a+b;
23
+ console.log(add(2,70));
24
+
25
+
26
+
27
+ const greet = () => console.log("Hello , world");
28
+ greet();
29
+
30
+ *
31
+
32
+ const greet = () => console.log("Helllo world");
33
+ greet();
34
+ *
35
+
36
+
37
+ const greet = () => console.log("Hello world");
38
+ greet();
39
+ */
40
+ const greeet = ( ) => console . log ( 'object' ) ;
41
+ greeet ( ) ;
42
+
43
+ const greet = ( ) => console . log ( "Hi" ) ;
44
+ greet ( ) ;
You can’t perform that action at this time.
0 commit comments