mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-13 22:08:08 -05:00
Punctuation tweak
This commit is contained in:
@@ -494,8 +494,8 @@
|
||||
}
|
||||
|
||||
// The interpreter is hoisting the variable
|
||||
// declaration to the top of the scope.
|
||||
// Which means our example could be rewritten as:
|
||||
// declaration to the top of the scope,
|
||||
// which means our example could be rewritten as:
|
||||
function example() {
|
||||
var declaredButNotAssigned;
|
||||
console.log(declaredButNotAssigned); // => undefined
|
||||
|
||||
Reference in New Issue
Block a user