How to get the current URL using JavaScript

How to get the current URL using JavaScript

More to explore

Based on this image's title: “How to get the current URL using JavaScript