Skip to content

Instantly share code, notes, and snippets.

@codecademydev
Created July 8, 2016 05:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codecademydev/9193cb832f739424c66d897942e4741f to your computer and use it in GitHub Desktop.
Save codecademydev/9193cb832f739424c66d897942e4741f to your computer and use it in GitHub Desktop.
Codecademy export
/*jshint multistr:true */
var text = "My name is Zobee. Just incase you forgot, \
my name is Zobee.";
var myName = "Zobee"
var hits = [];
for (var i = 0; i < text.length; i++){
if (text[i] === 'Z') {
for (var j = i; j < text.length; j++){}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment