Javascript Quiz: How Well Do You Know Spread Operator #programming #javascript #coding #quiz

preview_player
Показать описание
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. 🔔

------------------------------------------------------------------------------------------

Answer: OPTION A:- 5

Explanation: In this code, the string "hello" is converted to an array using the spread operator .... Each character in the string is treated as an element of the array, and the resulting array y will have 5 elements, which is the length of the string.
Рекомендации по теме