Skip to content

Commit

Permalink
refacto(operators): remove useless function wrap
Browse files Browse the repository at this point in the history
  • Loading branch information
olegskl committed Dec 30, 2014
1 parent 66466cd commit b12d894
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/operators.js
Expand Up @@ -9,11 +9,11 @@ module.exports = {
'*': function (a, b) { return a * b; },
'/': function (a, b) { return a / b; },
'%': function (a, b) { return a % b; },
'pow': function (a, b) { return Math.pow(a, b); },
'pow': Math.pow,

// Comparison operators:
'max': function (a, b) { return Math.max(a, b); }, // arity is 2
'min': function (a, b) { return Math.min(a, b); }, // arity is 2
'max': Math.max,
'min': Math.min,

// Bitwise operators:
'&': function (a, b) { return a & b; }, // AND
Expand Down

0 comments on commit b12d894

Please sign in to comment.