Consider the following code snippet:
const fruits = ['apple', 'banana', 'cherry', 'date'];
fruits.pop();
console.log(fruits.length);
What will be the output of the console.log statement?
Consider the following code snippet:
const fruits = ['apple', 'banana', 'cherry', 'date'];
fruits.pop();
console.log(fruits.length);
What will be the output of the console.log statement?