Skip to content

Instantly share code, notes, and snippets.

@thoff1331
Created March 8, 2017 03:08
Show Gist options
  • Save thoff1331/034fd679cce7f51d9cdff507a6d60bc5 to your computer and use it in GitHub Desktop.
Save thoff1331/034fd679cce7f51d9cdff507a6d60bc5 to your computer and use it in GitHub Desktop.
Wheres WaldoWaldo is hiding in some strings. You've been given a string named waldoString. Waldo will be hiding in it somewhere. Return the index of where in the string 'Waldo' starts.
function findWaldo(str){
var waldoPosition;
// code below here
return waldoPosition;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment