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


#1

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

What is bad?


#2

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


#3

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