The Littlest Control Statement

example control statement

by Alex Cowan

JavaScript

somevar = 'foo';

if (somevar == 'foo') {
  console.log("got foo");
  //can put other stuff
}