The ternary operator (? :) was introduced in JavaScript with the first edition of the ECMAScript standard (ECMAScript 1), which was published in June 1997.
Has nothing to do with ES6 does it?
We're a place where coders share, stay up-to-date and grow their careers.
The ternary operator (? :) was introduced in JavaScript with the first edition of the ECMAScript standard (ECMAScript 1), which was published in June 1997.
Has nothing to do with ES6 does it?