Resizes the total length of the view.
This allows the user to either keep the size the same or shrink the view, but never extend it.
the new size
RangeError if an attempt to extend the length is made
See Implementation
Resizes the total length of the view.
This allows the user to either keep the size the same or shrink the view, but never extend it.