Stuck on Conclusion 2


Hi! I keep getting an error message saying it looks like log on line 4 was not defined before it was used

    console.log ("Wow!");
({console.log ("I finished my first course!");


Remove the parens from both this clause, and the else.

if (...) {

} else {



the if structure in js is

if(condition) {
do something; }


A post was split to a new topic: Making an if / else statement


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