Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

function hoisting in js

console.log(functionBelow("Hello"));
function functionBelow(greet) {
   return `${greet} world`;
}
console.log(functionBelow("Hi"));
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #function #hoisting #js
ADD COMMENT
Topic
Name
6+2 =