3 ms·
Yes, actually it does. A named function expression and a function declaration are distinct concepts. The latter is function-hoisted (the whole body goes to th
by couchand 12y ago
Yes, actually it does. A named function expression and a function declaration are distinct concepts. The latter is function-hoisted (the whole body goes to the top), whereas the former is only var-hoisted (the body remains in place).