DataView.length is now 1 instead of 3

Published: | Categories: JavaScript


The length property on the DataView constructor was previously 3 as per the ECMAScript 6 draft. Starting with Firefox 65, it will be 1 to follow the current spec. Some other browsers may still return 3 at this time.