Add types of BufferSource

This commit is contained in:
Christoph Diehl 2017-09-13 21:04:58 +02:00
parent 81ec8a9891
commit 6303c66f51

View file

@ -93,7 +93,7 @@ make.typed = {
'Int8', 'Uint8', 'Uint8Clamped', 'Int8', 'Uint8', 'Uint8Clamped',
'Int16', 'Uint16', 'Int16', 'Uint16',
'Int32', 'Uint32', 'Int32', 'Uint32',
'Float32', 'Float64', 'Float32', 'Float64'
]) ])
let method = 'new ' + arrType + 'Array' let method = 'new ' + arrType + 'Array'
switch (random.number(16)) { switch (random.number(16)) {