What am I doing wrong?


#1



https://www.codecademy.com/en/courses/javascript-beginner-en-ASGIv/2/3?curriculum_id=506324b3a7dffd00020bf661#


I have a syntax error, but the code looks good to me. I'm obviously missing something. Where's the error?

UPDATE: I'm stupid. I figured it out. I used squigglies instead of parenthesis.


var getToDaChoppa = function(){
var helicopter = true
do {
    console.log("Get in this chopper.")
    helicopter = false
}
while {
    helicopter = true
}
};

getToDaChoppa();


#2

@drew.22.jensen,
AND
you had to use the comparison operator ===
instead of the assignment operator =