[DONE] Need Help! 10/11


#1
    var getToDaChoppa = function(){
      do {
    console.log("You've just been pwned!");
    getToDaChoppa = true;
       } while(something);
    };
    getToDaChoppa(false);

I've Used Other Users Codes But None Of Them Seem To Work.


#2

Than maybe take a step back to where you feel save and start again from there. Or ask specific question about what you want to know about function.

About the errors in this code:

getToDaChoppa(false);

here you use an argument (value in the () after function name) but you don't have a parameter (variable name in () after function keyword) so this value is never used anywhere.

getToDaChoppa = true;

this replaces your function with the value true.

while(something);

and something is never used elsewhere in your code so know you probably just get an error about this one.