Programming with Umair

What will the following code output?
let arr = [1, 2, 3];
arr[10] = 99;
console.log(arr.length);

11 months ago | [YT] | 4