with
Limited availability
The with
JavaScript statement adds a given object to the chain of scopes used to evaluate names.
Learning resources on MDN
Browser support
- Chrome 38 Released on 2014-10-07
- Chrome Android 38 Released on 2014-10-08
- Edge 12 Released on 2015-07-29
- Firefox 48 Released on 2016-08-02
- Firefox for Android 48 Released on 2016-08-02
- Safari 10 Released on 2016-09-20
- Safari on iOS 10 Released on 2016-09-13
Specifications
- ECMAScript Language Specification (#sec-with-statement), from TC39 (Ecma International).