Closed
Description
e.g:
const Int8Array int8 = const [10, 100];
does not work, instead we need to write code as follows:
Int8Array initInt8Array() {
var list = new Int8Array(2);
list[0] = 10;
list[1] = 100;
return list;
}
Int8Array int8 = initInt8Array();
We should try and make it possible to initialize constant scalar lists
similar to how we initialize all lists.