Skip to content

Instantly share code, notes, and snippets.

@ruprict
Created June 17, 2012 12:46
Show Gist options
  • Select an option

  • Save ruprict/2944468 to your computer and use it in GitHub Desktop.

Select an option

Save ruprict/2944468 to your computer and use it in GitHub Desktop.
var instrument, instruments, _i, _len;
instruments = ["piano", "violin", "guitar", "flute", "drums"];
for (_i = 0, _len = instruments.length; _i < _len; _i++) {
instrument = instruments[_i];
if (instrument !== flute) {
play(instrument);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment