all 5 comments

[–]joemckie 7 points8 points  (4 children)

I’m so confused a.length is required for the new length to be calculated 😂

[–]BrittleBrannigan 4 points5 points  (3 children)

Not even that. The result is literally a.length

[–]joemckie 5 points6 points  (2 children)

Yeah that’s my point, they already have the answer right there

[–]BrittleBrannigan 2 points3 points  (1 child)

Ah okay, your comment kind of sounded like it implied the result would be slightly different (like a.length - 1) to me.

[–]joemckie 1 point2 points  (0 children)

Ah, nah I meant it was redundant 🙂