aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • JavaScript Fundamentals
  • What is the correct JavaScript syntax for opening a new w...
Multiple choice

What is the correct JavaScript syntax for opening a new window called "w2" ?

  1. w2 = window.new("http://www.site.com");

  2. w2 = window.open"http://site.com");

Reveal answer Fill a bubble to check yourself
B Correct answer

Keep practicing — related questions

  • What is the correct JavaScript syntax for opening a new window called "p2"
  • What is the correct JavaScript syntax for opening a new window called "window5" ?
  • Which method will open a new window ?
  • Which method will open a new window ?
  • We can open a link in a new browser window by using
  • What is the correct JavaScript syntax to write "Hello World"?
  • Which of the following is the correct syntax for a URL?
  • What is the correct JavaScript syntax to write "Hello World"?
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Markup and Web Languages (1492 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy