Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

loop array

/**
 * !What is Hoisting --------------->
 * *Hoisting is a phenomena where we can access the variables and functions before initialization
 */
myFunc("Jassi");                   // my name is Jassi
console.log(a);                    // undefined
var a = 5;

function myFunction(a) {
  var b = `my name is ${a}`;
  console.log(b);
}
Source by 127.0.0.1 #
 
PREVIOUS NEXT
Tagged: #loop #array
ADD COMMENT
Topic
Name
7+8 =