Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<body>
<h1>JavaScript Typed Arrays</h1>
<h2>The BYTES_PER_ELEMENT Property</h2>
<p>The number of bytes used to store one INT32Array element is:</p>
<p id="demo"></p>
<script>
const myArr = new Int32Array(10);
document.getElementById("demo").innerHTML = myArr.BYTES_PER_ELEMENT;
</script>
</body>
</html>