mirror of https://github.com/webpack/webpack.git
11 lines
251 B
JavaScript
11 lines
251 B
JavaScript
|
const add = require("./math").add;
|
||
|
exports.increment = function increment(val) {
|
||
|
return add(val, 1);
|
||
|
};
|
||
|
exports.incrementBy2 = function incrementBy2(val) {
|
||
|
return add(val, 2);
|
||
|
};
|
||
|
exports.decrement = function decrement(val) {
|
||
|
return add(val, 1);
|
||
|
};
|