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
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.'")
Step by Step Solution
3.24 Rating (156 Votes )
There are 3 Steps involved in it
d Docume... View full answer
Get step-by-step solutions from verified subject matter experts
