DEV Community

Discussion on: FizzBuzz JavaScript

akhilpokle profile image
Akhil

oh yeah, that else part is a really bad bug from my side
it should be

if(str ="") str += n;

what this video : youtube.com/watch?v=QPZ0pIK_wsc