Which of the following is a valid JavaScript statement? a. document.write('Boston, MA is called 'Beantown.'') b. document.write(Boston,

Question:

Which of the following is a valid JavaScript statement?

a. document.write('Boston, MA is called 'Beantown.'')

b. document.write("Boston, MA is called "Beantown."")

c. document.write("Boston, MA is called 'Beantown."')

d. document.write("Boston, MA is called 'Beantown.'")

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

JavaScript

ISBN: 9781305078444

6th Edition

Authors: Sasha Vodnik, Don Gosselin

Question Posted: