DEV Community

Discussion on: Short-Circuiting Conditions in JavaScript

Collapse
 
georgecrisan profile image
George Crisan • Edited

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?