Type Conversion with +"5"
- JSLint now complains about
a = a + ""
which is great.
Should it also complain about un-necessary + operator (e.g. it can only be
used for type conversion). e.g.
var a = "5";
var b = +a; // should be Number(a)
var c = +"12"; // not sure why you'd ever want to do this
[Non-text portions of this message have been removed]