DEV Community

Discussion on: Fizz? Buzz? FizzBuzzz!

Collapse
 
lallenfrancisl profile image
Allen Francis

How the heck !!!!!!!

Collapse
 
peledzohar profile image
Zohar Peled

Javascript is a weakly typed language, so '' || i is basically translated to i because '' is implicitly converted to false.