with
The with JavaScript statement adds a given object to the chain of scopes used to evaluate names.
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
MDN documentation
Specifications
- ECMAScript® 2027 Language Specification (#sec-with-statement), from TC39 (Ecma International).
Usage (according to Chrome Platform Status)
~7.749% of page loads. More data at chromestatus.com.View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist