mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Fix issue with BigInt64Array in Safari
This commit is contained in:
parent
4f9346e4e3
commit
40ecb0938d
|
@ -79,7 +79,7 @@ function $rt_createNumericArray(cls, nativeArray) {
|
|||
}
|
||||
var $rt_createLongArray;
|
||||
var $rt_createLongArrayFromData;
|
||||
if (typeof BigInt !== 'function') {
|
||||
if (typeof BigInt64Array !== 'function') {
|
||||
$rt_createLongArray = function(sz) {
|
||||
var data = new Array(sz);
|
||||
var arr = new $rt_array($rt_longcls(), data);
|
||||
|
|
Loading…
Reference in New Issue
Block a user