array-permutation-simple
code:usage.js
var permutation = require('array-permutation-simple')
console.log(permutation( 1, 3, 5 )) すると
code:output
これを使うと
https://gyazo.com/7fd9bdd0598216bc013d42c301ae607c
https://gyazo.com/e65993ef0b7294c239b26d021bb7b4ba