minor fixes
- fix erratas - fix wrong error message - add 'run' on runnable example - add explanation about window.onload property corresponding load event - add comment about window.onstorage property corresponding storage event
This commit is contained in:
parent
36737518f8
commit
958cbe72b8
8 changed files with 13 additions and 13 deletions
|
@ -218,7 +218,7 @@ The Function Expression is wrapped with parenthesis `(function {...})`, because
|
|||
|
||||
```js run
|
||||
// Try to declare and immediately call a function
|
||||
function() { // <-- Error: Unexpected token (
|
||||
function() { // <-- Error: Function statements require a function name
|
||||
|
||||
let message = "Hello";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue