ES7 is a smaller update compared to ES6, and it doesn't introduce as many new features. Some key additions include:
Exponentiation Operator: The exponentiation operator (**) was introduced for easier calculation of exponentials. Array.prototype.includes: The includes method was added to arrays for a simpler way to check if an array includes a certain element.
Major ECMAScript versions like ES6 and ES7 aim to enhance and extend the language rather than deprecate existing features.
Answer from Mahya Bagheri on Stack OverflowI've got about 2 years of experience programming with javascript, but took a year break and now I'm trying to get back into it and don't really know the differences between all of these. What are people using right now and what should I look into? Should I use typescript? Also, sorta unrelated but I hear that JS has moved more towards functional programming than OOP, is there any article or video I should read to catch me up on that because I remember when learning that objects in JS were a big thing and I was learning a bunch of OOP design patterns, or at least how they're implemented in JS. Thanks in advance for answering any of these questions.