What value is obtained when the following code is executed?
const arr = [1, 2, 3];
const sliced = arr.slice(1, 2);
console.log(sliced[0]);
What value is obtained when the following code is executed?
const arr = [1, 2, 3];
const sliced = arr.slice(1, 2);
console.log(sliced[0]);