0

What's wrong with this?

Array elements https://code.sololearn.com/WbGQhVmW54G4/?ref=app

8th Aug 2019, 5:27 PM
Ranjeet
Ranjeet - avatar
4 Respostas
+ 1
there are script tags inside the js... remove them
8th Aug 2019, 5:29 PM
Anton Böhler
Anton Böhler - avatar
+ 1
Thanks Anton
8th Aug 2019, 5:31 PM
Ranjeet
Ranjeet - avatar
+ 1
Also I'd close the first line with ;
8th Aug 2019, 5:32 PM
HNNX 🐿
HNNX 🐿 - avatar
0
and an array has the attribute length, not the method length()
8th Aug 2019, 5:30 PM
Anton Böhler
Anton Böhler - avatar