9 ms·
I've been programming for 15 years and I'd have no clue what the difference between val and var is without looking it up. So I guess your definition of 'everybo
by Retra 11y ago
I've been programming for 15 years and I'd have no clue what the difference between val and var is without looking it up. So I guess your definition of 'everybody' is JavaScript programmers?
And every time I see 'var', I cringe because I don't know if they mean variable or variant. But 'val' is just usless. Variables evaluate to values, constants evaluate to values, expressions are values, first-class functions are values... Everything is val.