Skip to content

Commit

Permalink
Update increment.js
Browse files Browse the repository at this point in the history
  • Loading branch information
oygen87 committed Jul 29, 2018
1 parent 614f2ad commit 37ae7c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/commonjs/increment.js
@@ -1,4 +1,4 @@
var add = require('./math').add;
const add = require('./math').add;
exports.increment = function(val) {
return add(val, 1);
};
};

0 comments on commit 37ae7c3

Please sign in to comment.