Simplify JavaScript code with Logical, Assignment and Optional Operators

InstructorTomasz Ducin

Share this video with your friends

Send Tweet

The Logical Assignment Operators bring syntactic sugar over verbose syntax which enforced us to write explicit if statements. Thanks to the new operators ||=, &&= and ??= we can express the conditional logic in a more concise way.