When I type window in console. console show that window is instance of Window. Is it possible to create new window object using new Window(). I tried it but it throwing error TypeError: Illegal constructor
My Question is related to Location object. can I create a new object using Location?
I need it so that I can apply method available on location object to my links.
I was trying to access Location object but no success.
I am using Chrome console.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With