because var f = function() { };in essence, this is a variable f , which has a function as a value ...... and what do we do at the end of a variable declaration?The answer is obvious ...... For example, var f = 666;- semicolon.the same thing here - Alexey Shimansky
Because func.decl.this is a construct, and func.exp.- expression. - wcobalt
var f = function() { };in essence, this is a variablef, which has a function as a value ...... and what do we do at the end of a variable declaration? The answer is obvious ...... For example,var f = 666;- semicolon. the same thing here - Alexey Shimansky