What value is printed when executing the following code?
const names = ['Ana', 'ana', 'Bob', 'bob'];
names.sort();
console.log(names[0]);
What value is printed when executing the following code?
const names = ['Ana', 'ana', 'Bob', 'bob'];
names.sort();
console.log(names[0]);