We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I try to run [ 1, 2, [ 3, 4 ] ].flat(), I get JSException: TypeError: [1, 2, [3, 4]].flat is not a function.
[ 1, 2, [ 3, 4 ] ].flat()
JSException: 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 and map all work.
find
filter
map
The text was updated successfully, but these errors were encountered:
Probably only loosely-related: it seems that reduce and some don't work as expected. I'll try to isolate some tests.
reduce
some
Sorry, something went wrong.
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.
Array.flat() and Array.flatMap() #275
eb04d54
No branches or pull requests
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.The text was updated successfully, but these errors were encountered: