How to get current page url in JavaScript

URL
By Jad Joubran · 
Last updated Dec 16, 2017
window.location.href;
https://codetogo.io/how-to-get-current-page-url-in-javascript/