added support for !array.length