const arr1 = [10, 20, 30, 40, 50]; const res = arr1.at(2); console.log(res);
Javascript Error
Line Number: 180
Uncaught TypeError: List._items.at is not a function -------------- if (List._items.at(-1).type == 3) {