Learning js should be fun. It is fun if it's easy.
I tried my best in writing this, to understand it the easy way.
Order of Precedence
It matters and why?
Unary + converts strings ----> numbers
But you might ask why the binary plus not executed first, why unary got executed first?
Answer: Highest Precedence
1 more example to clear out the confusion
Leave y'r thoughts....
Top comments (0)