Created
July 21, 2019 08:47
-
-
Save luandevpro/1f5fca2604ca9cab9bd555a63f938e6e 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
let testStr = "freeCodeCamp"; | |
let ourRegex = /code/i; | |
let result = ourRegex.test(testStr); | |
console.log(result) // true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment