1
The Lazy Man's URL Parsing
Learn how to pull the pieces of a URL apart the lazy way so you can find out all the important information you wish to know about your URLs.
A while back I wrote an article titled “The Great Mystery of the Tilde” where I tried to explain what the ~ (tilde) operator did in JavaScript. When trying to demystify what it was, I ended up perpetuating a lot of misinformation. I’m here to fix that today.
Visit joezimjs.com → On Hacker News May 2012 – May 2012
Learn how to pull the pieces of a URL apart the lazy way so you can find out all the important information you wish to know about your URLs.