loading...

re: Logical assignment operators in JavaScript VIEW POST

TOP OF THREAD FULL DISCUSSION
re: x ||= 1 would mean x || (x = 1)
 

Aren't the two expressions x = x || y and x || (x = y) equivalent?

Code of Conduct Report abuse