Skip to content

Added ability of performing mod in arrays in ascending order

Choose a tag to compare

@renatoargh renatoargh released this 12 Oct 19:04
· 29 commits to master since this release

Added a fourth parameter to the math.mod function so it performs in ascending order instead.

var utils = require('gammautils');

utils.math.mod('123456789', [1, 2, 3, 4], 11, 'leftToRight');