1. Vonage Learn
  2. It
  3. Courses
  4. Onehack
  5. Javascript
  6. Comparisons and If Statements

Comparisons & If Statements

Learn the fundamentals of the JavaScript programming language, and use it to make interactive web pages

let highScore = 1200;
let userScore = 1210;

if(true) {
  console.log('if statement conditional evaluated to true');
}

Need help? Have questions? Join the Vonage Developer Community Slack and use the channel #onehack.