jdk-24/nashorn/test/script/basic/JDK-8014735.js.EXPECTED
Athijegannathan Sundararajan 2cd9f2dde4 8014735: Typed Array, BYTES_PER_ELEMENT should be a class property
Reviewed-by: lagergren, jlaskey
2013-05-22 19:33:08 +05:30

10 lines
309 B
Plaintext

Int8Array.BYTES_PER_ELEMENT = 1
Int16Array.BYTES_PER_ELEMENT = 2
Int32Array.BYTES_PER_ELEMENT = 4
Uint8Array.BYTES_PER_ELEMENT = 1
Uint8ClampedArray.BYTES_PER_ELEMENT = 1
Uint16Array.BYTES_PER_ELEMENT = 2
Uint32Array.BYTES_PER_ELEMENT = 4
Float32Array.BYTES_PER_ELEMENT = 4
Float64Array.BYTES_PER_ELEMENT = 8