enter image description here
I fill "basket" array with objects, but then, when i try to get array lenght it return me "undefined" value.
The lengh is pale here, is problem connect with that?
The name of the property is length, not lenght.
length
lenght
So,
console.log(basket.length)