Re:Why I'm still using jQuery
by lewiscollard on Monday May 27, 2019 @08:55AM
(#20021760)
It is a trick to coerce it to an integer.
[ Parent
| on HN ]
+ can concatenate strings.
So I guess there is an implied: 0 +
in there to make it in integer mode.
There's no implication involved. It's the unary operator, and it performs the type conversion exactly as specced.