You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var declarations get hoisted to the top of their scope
and the following text suggests that this is the same notion of scope as the scope that let and const hoist to. Rephrase to something like "top of the block of their enclosing function"
The text was updated successfully, but these errors were encountered:
https://github.com/airbnb/javascript#hoisting--about starts with
and the following text suggests that this is the same notion of scope as the scope that
let
andconst
hoist to. Rephrase to something like "top of the block of their enclosing function"The text was updated successfully, but these errors were encountered: