The Javascript Uint16Array.BYTES_PER_ELEMENT property stores the size in bytes of each element in an Uint16Array.
Uint16Array.BYTES_PER_ELEMENT;
console.log(Uint16Array.BYTES_PER_ELEMENT);