What is the output of this program?

let sizes = [
"mini",
"small",
"medium"
];

sizes [4] = "large";
console.log(sizes.length);
mini
small
4
5

The output of the program is:

4