Introduction
Ever get the feeling youâve woken up and everythingâs different? If youâve looked at modern JavaScript, you may feel like you woke up in a new world where nothingâs the same.
Yesterday, you were tweaking a simple jQuery accordion. Today, you look at some JavaScript code and the ubiquitous jQuery $ operator is gone. In its place are lots of strange dots (...) and strange symbols (=>) (the spread operator and arrow functions, as youâll soon learn). Sure, some things look familiar, such as class, but even that seems to be unpredictable (where are the private methods?).
Are you perplexed? Maybe a little excited? Well, I have good news for you: Everything has changed for the better.
When the ECMAScript 6 spec was releasedâES6 ...
Get Simplifying JavaScript now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.