On line 11 of the provided code for the challenge, this.length
needs to be changed to this.size
. The test(s) call a this.size method. A correct implementation of remove won’t be able to pass these tests without this change to the provided code.
On line 11 of the provided code for the challenge, this.length
needs to be changed to this.size
. The test(s) call a this.size method. A correct implementation of remove won’t be able to pass these tests without this change to the provided code.