What Are The Newest Operators Added To Javascript?
I would like to know which operators were added to Javascript most recently. This includes any operators which might not have got all the way through the standards process to being
Solution 1:
Considering ES6 as the latest standard, the "newest" operators are the strict equality and non-equality operators (===
, !==
) that were introduced with ES3. Later revisions of the standard added new syntax, but none of them did bring new operators.
Solution 2:
Well there are some in EcmaScript 6 that I wasn't even aware of until I wondered this and started looking for an answer.
The "spread operator": ...
The site es6-features.org
"ES6 ECMAScript 6 — New Features: Overview & Comparison" also lists an "Iterator & For-Of Operator".
I'm just reading up on these now myself so forgive me for not including brief descriptions just yet ...
Post a Comment for "What Are The Newest Operators Added To Javascript?"