We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1e572d commit 96b596cCopy full SHA for 96b596c
1 file changed
part3 (Fundamental Concepts)/functions_deeply.js
@@ -0,0 +1,25 @@
1
+// Function Statement aka Function Declaration
2
+a();
3
+function a() {
4
+ console.log("a called");
5
+}
6
+
7
+// Function Expression
8
+let b = function () {
9
+ console.log("b called");
10
+};
11
+b();
12
13
+// Anonymous Funtions
14
+let c = function () {
15
+ console.log("anonymous function");
16
17
18
+// Named Function Expression
19
+let d = function abcd() {
20
+ console.log("Named function expression");
21
22
23
+// First Class Functions
24
+// the functions which we can pass to another function pass as a value, can be returned from another function is called frist class functions.
25
0 commit comments