Confirmed users
455
edits
| Line 25: | Line 25: | ||
== Do I have to upgrade all my script to ES4? == | == Do I have to upgrade all my script to ES4? == | ||
No. | |||
Significant effort has gone into ensuring that ES4 code and ES3 code can interoperate simply, including preservation of argument types and values when ES4 values pass through ES3 functions and scripts. You can upgrade your code piecemeal as you need and want to use new ES4 capabilities, and don't need to give up your existing ES3 libraries or application code to do so. They will interoperate as you would want and expect; to make people do a wholesale upgrade of everything would make ES4 essentially useless, given the huge and valuable installed base of ES3-based code on the web today. | Significant effort has gone into ensuring that ES4 code and ES3 code can interoperate simply, including preservation of argument types and values when ES4 values pass through ES3 functions and scripts. You can upgrade your code piecemeal as you need and want to use new ES4 capabilities, and don't need to give up your existing ES3 libraries or application code to do so. They will interoperate as you would want and expect; to make people do a wholesale upgrade of everything would make ES4 essentially useless, given the huge and valuable installed base of ES3-based code on the web today. | ||