0

I am asking this question as I was trying to understand a browser's support on different releases(ES6, ES5,ES3... etc.) of JS standards. Is it right that when a browser suports ES6 it also supports ES5? When a browser (e.g. IE 11) supports ES5, does it also support ES3?

user3463521
  • 572
  • 2
  • 7
  • 16
  • 3
    Yes, ECMAScript needs to stay backwards-compatible. – Bergi Jan 21 '19 at 19:47
  • 2
    Yes unless a method is deprecated. – ISAE Jan 21 '19 at 19:47
  • related: https://stackoverflow.com/q/30149034/1048572 – Bergi Jan 21 '19 at 19:52
  • 1
    @ISAE They might be deprecated, but they don't get removed from the browsers. Heck, even the spec has an annex detailing the exact standard-deviating semantics that an engine needs to implement to be web-compatible. – Bergi Jan 21 '19 at 19:53

0 Answers0