source: node_modules/es-toolkit/dist/compat/function/flip.js@ a762898

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

Added visualizations

  • Property mode set to 100644
File size: 223 bytes
RevLine 
[a762898]1'use strict';
2
3Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
4
5function flip(func) {
6 return function (...args) {
7 return func.apply(this, args.reverse());
8 };
9}
10
11exports.flip = flip;
Note: See TracBrowser for help on using the repository browser.