20 May, 2021
Guide Fari
TIL 5-20-21
Function Expression Hoisting
function statement
function cacheRules() {
return '💴'
}
function expression
const cacheRules = function() {
return '🤯'
}
function statement is hoisted, while the expression is not.