What am I doing wrong?



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



you had to use the comparison operator ===
instead of the assignment operator =