Skip to content

Conversation

@eWert-Online
Copy link
Contributor

This PR adds missing array functions to the Js.Array module.

New functions are:

  • Js.Array.at (MDN)
  • Js.Array.flat (MDN)
  • Js.Array.toReversed (MDN)
  • Js.Array.toSorted / Js.Array.toSortedWith (MDN)
  • Js.Array.toSpliced / Js.Array.removeFrom / Js.Array.removeCount (MDN)
  • Js.Array.findLast / Js.Array.findLasti (MDN)
  • Js.Array.findLastIndex / Js.Array.findLastIndexi (MDN)

@anmonteiro
Copy link
Member

thank you @eWert-Online, would you be able to build, promote and commit the tests, please? you can temporarily comment out the jscomp/dune file

@anmonteiro anmonteiro merged commit 0602916 into melange-re:main Nov 2, 2025
7 checks passed
@anmonteiro
Copy link
Member

thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants