What is the output when you run this script in the browser?

Consider the following code:

What is the output when you run this script in the browser?

Consider the following code:

What is the output when you run this script in the browser?

A.
An alert box displaying the following: John, Paul, George, Ringo

B.
An alert box displaying the following: Ringo, John, Paul, George

C.
An alert box displaying the following: Ringo, Paul, George

D.
An alert box displaying the following: John, Ringo, George

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *