DEV Community

Discussion on: September 24th, 2020: What did you learn this week?

Collapse
 
colewalker profile image
Cole Walker

You can chain assignment operators in JS.

w = z = x = y 

This means you can also do horrible things like:

w +=y *= x -= z