News for hackers. Stuff that matters.
Re:Facebook Launches Flow, Static Type Checker for JavaScript by Cthulhu_ on Wednesday November 19, 2014 @06:50AM (#8629493)
That's because it's all valid Javascript - concatenating a string with a number is normal practice even in strongly typed languages (implicit type conversion). So, I don't see your point. If the argument 'a' had an annotation saying it should be a string, then I could understand an error from some checker tool, but then it wouldn't be vanilla JS anymore.

There are no comments on this comment yet.