Skip to content

Instantly share code, notes, and snippets.

View scottsword's full-sized avatar

Scott Sword scottsword

  • PlexTrac
  • Boise, ID
View GitHub Profile
@scottsword
scottsword / gist:38cf425d3b6a0dfbf113
Last active August 29, 2015 14:18
Contrived for loop
var rebels = ['Wedge', 'Leia', 'Luke', 'Han'];
for (var i = 0; i < rebels.length; i ++) {
if (rebels[i] === 'Luke') {
console.log('I have you now.');
}
}