How to use the URL Object in JavaScript

How to use the URL Object in JavaScript