JavaScript.info > Destructuring assignment (SKIPPED) > Flashcards
// let [firstName, surname] = arr;
let firstName = arr[0];
let surname = arr[1];
what method can be used for the same result?
arr.split()
let [a, b, c] = “abc”; // returns?
[“a”, “b”, “c”]