What language constructs or APIs are deprecated ECMA 2015 / ES6?

ES5 introduces "use strict" and normatively defines which language constructs and use of the API are deprecated / deprecated.

References to specifications refer to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Language_Resources

I tried to read ES6 and search for obsolete / obsolete keywords, but did not find anything related.

I have compared Appendix C ES6 and ES5 (Strict ECMAScript section mode) and they are basically identical.

What language constructs or APIs are deprecated in ECMA 2015 / ES6?

+5
source share
1 answer

You can find a list of deprecated functions on the MDN pages: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Deprecated_and_obsolete_features

You can also see a disclaimer on each feature page. And a thumb down or trash can icon next to their names.

-1
source

Source: https://habr.com/ru/post/1244851/


All Articles