Help needed with array.lenght - always returning undefined!

Help needed with array.lenght - always returning undefined!

Can someone please help me understand why console.log(array.lenght); returns a value of undefined when clearly it should return a value of 3.

I’m really struggling with this as I believe I’m following the correct syntax (I copied from the examples given). Please can someone explain this to me

thanks in advance.

lenght property does indeed not exists. You made a typo, should be length

1 Like