else if



examples/js/else_if_statement.js
"use strict";

var x = 23;
var y = 42;

if (x === y) {
  console.log("equal");
} else if (x < y) {
  console.log("x is smaller than y");
} else {
  console.log("x is bigger than y");
}

// x is smaller than y