MCQs > IT & Programming > Node.js > What will be the output of the following code snippet? var x =[8, 12, 3]; x.push(5); x.unshift(1); console.log(x[0]);

Node.js MCQs

What will be the output of the following code snippet?

var x =[8, 12, 3];

x.push(5);

x.unshift(1);

console.log(x[0]);


Answer

Correct Answer:

1

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Node.js Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

More Node.js MCQ Questions

search

Node.js Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it