r/javascript • • Mar 09 '15

Things every JavaScript developer should know

http://ilikekillnerds.com/2015/03/things-every-javascript-developer-should-know/
326 Upvotes

118 comments sorted by

View all comments

28

u/cgaudreau senior HTML9 engineer Mar 09 '15 edited Mar 09 '15

Good article. However, correct me if I'm wrong, but the provided FizzBuzz implementation appears to be incorrect. On multiples of 15, the provided solution would print "FizzBuzz Fizz Buzz".

EDIT: the author fixed it after I posted. The original example had no elses or else ifs.

0

u/[deleted] Mar 09 '15

[deleted]

5

u/kenavr Mar 09 '15

I never heard of it. Maybe because I am not from the US or because I never actually interviewed for a developer position, but I don't understand how this example can be challenging to someone who wants to work in this field.

1

u/neckro23 Mar 10 '15

That's the entire point. It's a test of baseline competence.