Set length to newLength.
If newLength < length elements are truncate. If newLength > length default-initialized elements are appended.
See Implementation
Set length to newLength.
If newLength < length elements are truncate. If newLength > length default-initialized elements are appended.