Array.prototype.lengthbeginnerconst arr = []
arr.length // β 0Check length === 0 to determine whether an array is empty.
An empty array literal [] has a length of 0. This is a fundamental baseline behaviour worth knowing explicitly.
Challenge: Implement emptyLength() that returns [].length.
emptyLength() // β 0