Which line of code can you use to replace the alert?

You have the following code.

You discover that the displayGlobalProduct function displays a value of boat.
You need to change the function to display a value of car.
Which line of code can you use to replace the alert?

You have the following code.

You discover that the displayGlobalProduct function displays a value of boat.
You need to change the function to display a value of car.
Which line of code can you use to replace the alert?

A.
alert(eval(displayGlobalProduct, ‘product’));

B.
alert(window.eval(product));

C.
alert(window.eval(‘product’));

D.
alert(eval(call(‘product’)));

Explanation:
http://www.endmemo.com/js/eval.php



Leave a Reply 1

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


CasiProgramoMEXAPOWA

CasiProgramoMEXAPOWA

it is correct