Created
August 3, 2017 14:47
-
-
Save dylanburkey/e49ec5a80a2feb555c6b071f89621667 to your computer and use it in GitHub Desktop.
Page Path
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 pagePath = location.href.split('/').pop(); | |
console.log('Current Path is' + pagePath); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment