Whiles and do: 10 what wrong with the code


var a = 0
var getToDaChoppa = function(){
// Write your do/while loop here!
};while(a = 1)




Look at your code closer. You forgot many semicolons.


Thank you for pointing that out but the problem was that when i pressed save and submit it said unexpected token. Any ideas?


Hi you should inscrease it to arrive to 1 so under your console.log inside your do { } add a++
And inside your while() put a equale with ===