Concise Code: Meet the New Logical Assignment Operators in JavaScript

Cameron Manavian
Level Up Coding
Published in
3 min readJul 28, 2020

--

The three new logical operators: nullish, AND, and OR are now available

Choices, choices: blissful ignorance || unpleasant truth

Want to write less code?

Let’s meet the new assignment operators available in JavaScript, which are readily available and in Firefox 79, and Chrome 85 (not available in Node.js quite yet).

--

--