4/8/2023 0 Comments Javascript versions![]() ![]() async and await weren’t added until ECMA2017.let and const weren’t added until ECMA2015.JSON.parse() wasn’t added until ECMA2009.Many functions you’ll use often are relatively new to JavaScript. Since then it’s gone through a number of editions, each adding new features that make it easier for developers like you to build robust and engaging websites. w3schools has a great table summarizing the editions. I’ll stick with the latter since I think the year it was adopted is useful context. For example, ES6 and ECMA2015 refer to the same versions. People use two different names to refer to the editions. JavaScript was created by Brendan Eich in 1995 and was adopted by The European Computer Manufacturers Association (ECMA) in 1997 which is why it is sometimes referred to as ECMAScript. The new features can make your life as a developer much easier. Developers fix bugs and add new features. So why bother to update JavaScript when it causes this confusion? Why not just stick with the same old version of JavaScript? Why are there different versions of JavaScript? One reason browsers get updated is so that they can learn to interpret features of JavaScript that get added in new versions of the language. So users will be running your code using all different versions of different browsers. To make matters worse, many users fail to update their browsers regularly (if ever). And different browsers sometimes interpret your code differently. The problem is that not everyone uses the same browser. 1 JavaScript is an interpreted language (as opposed to compiled into machine code) and the user’s web browser is what interprets the code you’ve written. When you build a site with JavaScript, your code is sent to a user’s computer where it is run by their browser. Let’s get into it! Your JavaScript code does not run on your device ![]() Your computer and phone update to new versions all the time and not much seems to change, right? Maybe you are used to applications updating automatically. After all, almost everything on computers is versioned. If you are learning JavaScript, you might not be aware that there are multiple versions of the language. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |