Skip to content

Commit 4ace578

Browse files
committed
replace defined with declared for more clarity [BonsaiDen#151]
1 parent 7898d0e commit 4ace578

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/en/function/general.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ This example assigns the unnamed and *anonymous* function to the variable `foo`.
2626
var foo = function() {};
2727

2828
Due to the fact that `var` is a declaration that hoists the variable name `foo`
29-
before the actual execution of the code starts, `foo` is already defined when
29+
before the actual execution of the code starts, `foo` is already declared when
3030
the script gets executed.
3131

3232
But since assignments only happen at runtime, the value of `foo` will default

0 commit comments

Comments
 (0)