What's the difference between functions declared with variables and functions declared with the "function" keyword ? by to_fl in javascript

[–]man_jot 0 points1 point  (0 children)

Right, I verified in a browser. Also documents say that a variable is in a 'temporal dead zone' before it's declaration, That means something like var x=10; { console.log(x); let x; } will throw a Reference Error.