Salesforce JavaScript Developer Practice Exam 2025 – Comprehensive Test Prep Flash Cards

Question: 1 / 400

What will be the output of the following code: const arr = [1, 2, 3]; arr.push(6); console.log(arr); arr.pop(); console.log(arr); arr.shift(); console.log(arr); arr.unshift(8); console.log(arr);?

?

[2, 3, 6]

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy