contents(js): update use strict answer (#346)
This commit is contained in:
parent
2dc1c72b4f
commit
948caacb31
|
|
@ -751,7 +751,7 @@ Advantages:
|
|||
|
||||
- Makes it impossible to accidentally create global variables.
|
||||
- Makes assignments which would otherwise silently fail to throw an exception.
|
||||
- Makes attempts to delete undeletable properties throw (where before the attempt would simply have no effect).
|
||||
- Makes attempts to delete undeletable properties throw an exception (where before the attempt would simply have no effect).
|
||||
- Requires that function parameter names be unique.
|
||||
- `this` is undefined in the global context.
|
||||
- It catches some common coding bloopers, throwing exceptions.
|
||||
|
|
|
|||
Loading…
Reference in New Issue