28 Conclusion Part 2 (is bad my code? Why?)


myName = "Daniel"
if myName.length > 2 { console.log "I finished my first course!" }
else { console.log "No" }

What is bad?


you are missing a few parentheses, around the condition of your if statement and console.log() is also missing parentheses


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