polifill reversed

This commit is contained in:
Tomas Mirchev 2025-07-02 18:18:50 +00:00
parent 8bffb568e8
commit fdd4c99485

View File

@ -30,6 +30,12 @@ import ResourcePage from "./ResourcePage.jsx";
const DIVIDER_AT = 16;
if (!Array.prototype.toReversed) {
Array.prototype.toReversed = function () {
return this.slice().reverse();
};
}
export function App() {
return (
<>