const arr = [1, 2, 3, 4, 5];
const [first, , third, ...rest] = arr;
console.log(first, third, rest);
Post #1437
6.51K
CHALLENGE
- 🔥 8
- ❤ 5
- 👍 1