Easy URL Parsing With Isomorphic JavaScript

From the article:

[quote=“ceeb, post:1, topic:114532”]
As you can see in the snippet above, the parse() method returns an Array containing the data you need such as the protocol, the hostname, the port, and so on.[/quote]

parse() returns an object, not an array. :wink: