Appendix DJavaScript ObjectsRead the directions carefully and write JavaScript code that addresses the requirements. Copy your code directly into the Appendix document and then post to your Individual forum.1. Write a line of code using the Location object to return the uniform resource locator (URL) of a Web page to a variable called myWebPage.2. Write a line of code using the Navigator object to return the Web browser name to a variable called myBrowserName.3. Write a line of code using the Screen object to return the height of the display screen not including operating system features such as the Windows Taskbar to a variable called myScreenHeight.4. Write a line of JavaScript code using the Window object and other properties to open a new Web browser window with www.google.com displaying and no menu bar.