To learn it, you gotta do it


var x = true
var getToDaChoppa = function(){
do {
console.log("This is looping!");
} while(false)


why do the need the highlighted part? And how does the do while loop work?

thanks :slight_smile:


What are you asking exactly?


why do I need var getToDAChoppa = function() what does it do? Same with getToDaChoppa()


It works either way you just need to create a function to nest the do while loop


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.