document.documentURI property returns the document location as a string.
Note: In the modern DOM standard, this property is read-only.
|String||Returns the document location as a string.|
Please do google search for:
Join Our Channel
This channel is primarily useful for Full Stack Web Developer.