Skip to content

Commit 5dec414

Browse files
Ir1dGlowin
authored andcommitted
fix: fix typo (javascript-tutorial#271)
1 parent 3d7d62a commit 5dec414

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

1-js/02-first-steps/03-strict-mode/article.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
我们注意到 `"use strict"` 可以放在函数(大多数函数)而不是整个脚本的开头。那么严格模式仅在该函数中启用。但通常人们会将它用于整个脚本。
2525

2626

27-
````warn header="确保 \"use strict\" 出线在最顶部"
28-
请确保 `"use strict"` 出线在脚本的最顶部,否则严格模式可能无法启用。
27+
````warn header="确保 \"use strict\" 出现在最顶部"
28+
请确保 `"use strict"` 出现在脚本的最顶部,否则严格模式可能无法启用。
2929
3030
这里的严格模式就没有启用:
3131

0 commit comments

Comments
 (0)