source:
node_modules/es-toolkit/dist/compat/array/reverse.mjs@
ba17441
| Last change on this file since ba17441 was a762898, checked in by , 5 months ago | |
|---|---|
|
|
| File size: 130 bytes | |
| Line | |
|---|---|
| 1 | function reverse(array) { |
| 2 | if (array == null) { |
| 3 | return array; |
| 4 | } |
| 5 | return array.reverse(); |
| 6 | } |
| 7 | |
| 8 | export { reverse }; |
Note:
See TracBrowser
for help on using the repository browser.
