How to get Subdomain from URL in JavaScript

How to get Subdomain from URL in JavaScript

More to explore