Created
April 29, 2015 13:14
-
-
Save steve-codemunkies/fd4048557af2ab7d4b17 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var regexp = /ste/ig; | |
var results = []; | |
for(var i = 0; i < 10; i++) { results.push(regexp.test('Steve Hocking')); } | |
console.log(results.toString()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment