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