Fix a sytax bug

array.length() to array.length