Created
April 3, 2018 13:20
-
-
Save cedeber/6a2dbfbeccea723b993c12108d7deb01 to your computer and use it in GitHub Desktop.
URL extension
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
const ext = url.slice(((url.lastIndexOf(".") - 1) >>> 0) + 2); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment