webpack/examples/harmony/increment.js

5 lines
90 B
JavaScript
Raw Normal View History

2015-01-13 00:45:30 +08:00
import { add } from './math';
export function increment(val) {
return add(val, 1);
};