Originally published by Nick Major at https://coderrocketfuel.com
Location interface that is exposed by the global
Window object by your browser.
And you can access the
Location interface with:
And since Window is a global object in the browser, you can access it using this also:
And if you want the
href of the current page, use this:
There are also a ton of other useful properties in the location object.
Here are some examples for the page you are currently on:
As always, thanks for reading and happy coding!
Thanks for reading ❤
If you liked this post, please do share/like it with all of your programming buddies!
Looking for an attractive & user-friendly web developer? HourlyDeveloper.io, a leading web, and mobile app development company, offers web developers for hire through flexible engagement models. You can **[Hire Web...
With the rapid development in technology, the old ways to do business have changed completely. A lot more advanced and developed ways are ...
You name the business and I will tell you how web development can help you promote your business. If it is a startup or you seeking some...
Build your eCommerce project by hiring our expert eCommerce Website developers. Our Dedicated Web Designers develop powerful & robust website in a short span of time.
This article covers A-Z about the mobile and web app development process and answers your question on how long does it take to develop/build an app.