UNPKG

tough-rational

Version:

Rational class using BigInt with fallback to bignumber.js

6 lines (3 loc) 127 B
'use strict'; const shiftThis = (fn) => function (...args) { return fn(...[ this, ...args ]); }; module.exports = shiftThis;