Specify forbidden use in ECMAScript 5 (#31483)
This commit is contained in:
committed by
Paul Gamble
parent
01b4fe6b26
commit
d556afc039
@ -5,7 +5,7 @@ title: With
|
|||||||
|
|
||||||
JavaScript's `with` statement is a shorthand way for editing several properties on one object. Most developers discourage usage of `with`, and you are best not using this keyword.
|
JavaScript's `with` statement is a shorthand way for editing several properties on one object. Most developers discourage usage of `with`, and you are best not using this keyword.
|
||||||
|
|
||||||
**Note**: `"strict mode"` forbids usage of `with`.
|
**Note**: `"strict mode"` in ECMAScript 5 forbids usage of `with`.
|
||||||
|
|
||||||
|
|
||||||
### Syntax
|
### Syntax
|
||||||
|
Reference in New Issue
Block a user