I came across some weird JavaScript code:
var a, b; // integers set somewhere;
var c = +b;
someFunc(+a);
What does that +
mean here? In my tests I cannot see any effect from it in JavaScript, but at the same time it is valid JavaScript.
What is it really, and why would anyone ever use it?