#set: undefined length ?

Should be this.length , index or it's right?