microsoft / devicescript

TypeScript for Tiny IoT Devices (ESP32, RP2040, ...)
https://microsoft.github.io/devicescript/
MIT License
3.24k stars 113 forks source link

array findLast #549

Closed sh33dafi closed 12 months ago

sh33dafi commented 12 months ago

Implemented https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findLast

https://github.com/microsoft/devicescript/issues/503

sh33dafi commented 12 months ago

I just have on question regarding this PR in MDN an thisArg is provided but I saw that in the current implant of findIndex etc this is also omitted. Is this ok?

pelikhan commented 12 months ago

Let's omit it to stay consistent with the other APIs. Thanks!