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
it is correct
5
0
It is correct
https://www.w3schools.com/code/tryit.asp?filename=FPZT8Z3VHI41
Reference:
https://www.w3schools.com/jsref/jsref_eval.asp
2
0