.container { width: 100vw; height: 100vh;}
const arr = [3, 1, 4, 1, 5];const sorted = [...arr].sort((a, b) => a - b);console.log(arr[0], sorted[0]);
const numbers = [10, 20, 30, 40, 50];const [first, second, ...rest] = numbers;console.log(rest.length);