Skip to content

Commit 7eb026f

Browse files
feat: add strict mode
1 parent 26c0a84 commit 7eb026f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*
2+
INFO: What is Strict Mode ?
3+
Strict Mode is a way to opt into a restricted version of javascript. It prevents you from doing things that are error-prone or poorly supported, and throws more errors when you write bad code.
4+
- Must appear at the top of a script or function
5+
- Applies only to the code in that scope (global or function)
6+
*/
7+
8+
// You enable it with:
9+
"use strict";

0 commit comments

Comments
 (0)