The byteOffset property of the TypedArray represents the offset of the current object.
Syntax
Its Syntax is as follows
typedArray.byteOffset();
Example
<html> <head> <title>JavaScript Example</title> </head> <body> <script type="text/javascript"> var buffer = new ArrayBuffer(156); var float32 = new Float32Array(buffer); document.write(float32.byteOffset); </script> </body> </html>
Output
0