percom
Version:
A calculation npm module that is to simplify the calculation of permutations and combinations
17 lines (14 loc) • 412 B
JavaScript
;
//Combination : Referenced from https://qiita.com/41semicolon/items/55e78a6100d9954676ff
const per = require('./permutation.js');
const com = require('./combination.js');
const permutation = per.per;
const countPer = per.countPer;
const combination = com.com;
const countCom = com.countCom;
module.exports = {
per: permutation,
countPer: countPer,
com: combination,
countCom: countCom
};