List of questions
Related questions
Question 119 - Certified JavaScript Developer I discussion
Refer to the code below:
Let foodMenu1 = ['pizza', 'burger', 'French fries'];
Let finalMenu = foodMenu1;
finalMenu.push('Garlic bread');
What is the value of foodMenu1 after the code executes?
A.
[ 'pizza','Burger', 'French fires', 'Garlic bread']
B.
[ 'pizza','Burger', 'French fires']
C.
[ 'Garlic bread' , 'pizza','Burger', 'French fires' ]
D.
[ 'Garlic bread']
Your answer:
0 comments
Sorted by
Leave a comment first