Wednesday, 15 February 2012

javascript - How to do if/else statement and print it out with console.log -


Write your / else statement. The only instruction is that the result of evaluating the statement "I ended my first course!" There is a log for the console. ? How do you complete it?

Ha! Think you should do more to Google, but at the risk of doing your homework:

  if (true) {console.log ("I ended my first course!") ; } Other {// nothing}  

Enjoy!


No comments:

Post a Comment