DEV Community

Discussion on: JavaScript OR Assignment Operator

Collapse
 
rubenswieringa profile image
Ruben Swieringa

You can consider a melon a nail when you hit it with a hammer, but it’s not going to make sense to anybody.

I’m afraid the long and short of it is just that the OR-assignment operator (||=) is not the OR-operator (||), sorry man.

Thread Thread
 
acroynon profile image
Adam Roynon

Okay, thanks for the clarification