Skip to content

Commit 7b0bfb6

Browse files
authored
Update 08-use_strict.md
1 parent 63d0826 commit 7b0bfb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notes/English/08-use_strict.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ It is important to note that strict mode only applies to the code within the sco
1515

1616
It is also important to note that some older browsers don't support strict mode, so you should consider browser compatibility when using strict mode. To active the strict mode you need to add the "use strict" string expression right at the first line of your code.
1717

18-
```
18+
```javascript
1919
//Using a variable, without declaring it, is not allowed:
2020
x = 3.14; // This will cause an error
2121

0 commit comments

Comments
 (0)