source: node_modules/es-toolkit/dist/compat/array/reverse.js@ a762898

Last change on this file since a762898 was a762898, checked in by istevanoska <ilinastevanoska@…>, 6 months ago

Added visualizations

  • Property mode set to 100644
File size: 226 bytes
Line 
1'use strict';
2
3Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
5function reverse(array) {
6 if (array == null) {
7 return array;
8 }
9 return array.reverse();
10}
11
12exports.reverse = reverse;
Note: See TracBrowser for help on using the repository browser.