Are you ready for another code challenge? Join me in this video as you test your coding knowledge with the simple quiz questions.
Don't forget to make your guess in the comments below.
-------------------------------------------------------------------------------------------
🔔Like and subscribe for more videos. 🔔
Connect me on linkedin :
https://www.linkedin.com/in/meenakshilodhi...
------------------------------------------------------------------------------------------
Answer: OPTION A:- [1,2,3,4]
Explanation:
The code creates an array arr with values [1, 2, 3]. The push() method is then used to add the value 4 to the end of the array.
The final value of arr is [1, 2, 3, 4], which is outputted to the console using console.log().