Is this a convention I don't know about/understand? Naively I'd think that `+val` and `val` are the same thing. With some detective work I'm going to guess that val is a string that may or may not look like an int and +val is supposed to convert it. If that's the case, perhpas you could use the more explicit `parseInt(val, 10)`.