#set: undefined length ?

Should be this.length , index or it's right?
Merge pull request #8 from mateuspv/master

#set: undefined length ?