odin-js-fundamentals-part-4/node_modules/semver/functions/rcompare.js

4 lines
118 B
JavaScript

const compare = require('./compare')
const rcompare = (a, b, loose) => compare(b, a, loose)
module.exports = rcompare