Surely there are several way to do it, this is just one of them. Let me know if you know a better way to do it πͺπ» To find an element into an array and move to be the first, you have to: get the index of the founded item using findIndex() π The ...
Front-end Developer. πΎ Media engineer. β‘ Facing life one bug at a time. π₯ Easily bribed with chocolate. π« she/her
Front-end Developer. πΎ Media engineer. β‘ Facing life one bug at a time. π₯ Easily bribed with chocolate. π« she/her - #BLM
Markdown supported Β· ββ΅ to post
No responses yet.