We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7898d0e commit 4ace578Copy full SHA for 4ace578
doc/en/function/general.md
@@ -26,7 +26,7 @@ This example assigns the unnamed and *anonymous* function to the variable `foo`.
26
var foo = function() {};
27
28
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
+before the actual execution of the code starts, `foo` is already declared when
30
the script gets executed.
31
32
But since assignments only happen at runtime, the value of `foo` will default
0 commit comments