array doesn't have method length(), but have length (without ()) param as public variable, so use names.length - 1
length()
length
()
names.length - 1
1.4m articles
1.4m replys
5 comments
56.9k users