Bug 1893651: Avoid repeated typed array length reads. r=jandem