-
-
Save Opus1no2/25fdab10875a56a2c3009904cac37b1f to your computer and use it in GitHub Desktop.
This file contains hidden or 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 parsedUrl = 'http://10.7.215.8/ResourceCenter/small-business-banking/starting-out'.split('/'); | |
if (parsedUrl.includes('ResourceCenter') && parsedUrl.includes('small-business-banking')) { | |
console.log('true'); | |
} else { | |
console.log('false'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment