Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What language constructs or API is deprecated by ECMA 2015 / ES6?

ES5 introduce "use strict" and normatively define what language constructions and API usage are deprecated / obsolete.

Links to specs is referenced in https://developer.mozilla.org/en-US/docs/Web/JavaScript/Language_Resources

I tried to read ES6 and make searches for deprecated / obsolete keywords but didn't find anything related.

I compared Annex C of ES6 and ES5 (The Strict Mode of ECMAScript section) and they are mostly identical.

What language constructs or API is deprecated by ECMA 2015 / ES6?

like image 287
gavenkoa Avatar asked Mar 10 '16 21:03

gavenkoa


1 Answers

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

On each function page, you can also see a deprecation notice. And a thumb-down or trashbin icon next to their names.

like image 200
SylvainM Avatar answered Nov 11 '22 17:11

SylvainM