Multiple choice technology web technology

Which method will open a new window ?

  1. popUp(PageURL,WindowName,settings);

  2. window.launch(PageURL,WindowName,settings);

  3. window.close(PageURL,WindowName,settings);

  4. window.open(PageURL,WindowName,settings);

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The standard JavaScript method for opening a new browser window or tab is window.open(). Other options like window.launch() or popUp() are not built-in JavaScript window methods, and window.close() is used to close an existing window.