Open savissimo opened 2 years ago
Probably only loosely-related: it seems that reduce
and some
don't work as expected. I'll try to isolate some tests.
Probably only loosely-related: it seems that
reduce
andsome
don't work as expected. I'll try to isolate some tests.
Forget that. It seems that my other problem was caused by passing a complex object into JavaScript. I'll open a separate issue for that.
If I try to run
[ 1, 2, [ 3, 4 ] ].flat()
, I getJSException: TypeError: [1, 2, [3, 4]].flat is not a function
.flat is a standard function of arrays. I haven't tested extensively for other array functions, but I can confirm that
find
,filter
andmap
all work.