Pregunta de entrevista de NetCom Learning

what is Destructuring Arrays. what is spread operator.

Respuesta de la entrevista

Anónimo

12 sep 2024

const fruits = ["apple", "banana", "orange"]; const [firstFruit, secondFruit, thirdFruit] = fruits; console.log(firstFruit); console.log(secondFruit); console.log(thirdFruit);