Created
May 9, 2019 19:51
-
-
Save LarrySul/b106592f4d6596e203b192678d7b8122 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 str = "He collected the apple"; | |
let regex = /apple/; | |
let result = regex.test(str); | |
console.log(result); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment