minor
This commit is contained in:
parent
b79f8d7960
commit
21a89ce15e
1 changed files with 2 additions and 3 deletions
|
@ -221,14 +221,13 @@ alert(num); // 5
|
||||||
|
|
||||||
That's a bad practice, it gives an error in the strict mode:
|
That's a bad practice, it gives an error in the strict mode:
|
||||||
|
|
||||||
```js run untrusted
|
```js run refresh untrusted
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
*!*
|
*!*
|
||||||
num = 5; // error: num is not defined
|
num = 5; // error: num is not defined
|
||||||
*/!*
|
*/!*
|
||||||
```
|
```
|
||||||
|
|
||||||
````
|
````
|
||||||
|
|
||||||
## Constants
|
## Constants
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue