Skip to content

Latest commit

 

History

History

urlBack

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

urlBack es6

Gets previous path of the URL

Examples

urlBack("https://en.wikipedia.org/wiki/ECMAScript"); // "https://en.wikipedia.org/wiki"
urlBack("https://en.wikipedia.org/"); // "https://en.wikipedia.org"
urlBack("https://en.wikipedia.org"); // "https://en.wikipedia.org"