As a new developer looking to pick up the most in-demand skills and for seasoned pros (colloquially referred to as “JS Ninjas” by recruiters) looking to know their worth, this is my first article must-read.
One of the most exciting things about JavaScript as a language is that it’s not standing still. From arrow functions to destructuring, many key features added over the past couple of years are now an integral part of how we write JavaScript.
So starting this year, in addition to which tools you use we’re also tracking how you write JavaScript: the patterns, syntax, and features you use… or maybe don’t use just yet but are keeping an eye on!
Syntax
The grammar of JavaScript
Destructuring:
The destructuring assignment syntax is a JavaScript expression that makes it possible to unpack values from arrays, or properties from objects, into distinct variables.
Spread syntax (…)
Spread syntax (…) allows an iterable such as an array expression or string to be expanded in places where zero or more arguments (for function calls) or elements (for array literals) are expected, or an object expression to be expanded in places where zero or more key-value pairs (for object literals) are expected.
Arrow function expressions An arrow function expression is a compact alternative to a traditional function expression, but is limited and can’t be used in all situations. Differences & Limitations: * Does not have its bindings to this or super, and should not be used as methods. * Does not have arguments, or new. target keywords. *Not suitable for the call, apply, and bind methods, which generally rely on establishing a scope. *Can not be used as constructors. * Cannot use yield, within its body. Finally, I saw JavaScript is moving in the right direction, so I’ll enjoy building JavaScript apps and I would like JavaScript to be my main programming language

Thank you.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store