Skip to content

Instantly share code, notes, and snippets.

@ddialar
Created August 12, 2017 11:25
Show Gist options
  • Save ddialar/f7609cd07a4645911ab7048af556bd28 to your computer and use it in GitHub Desktop.
Save ddialar/f7609cd07a4645911ab7048af556bd28 to your computer and use it in GitHub Desktop.
import * as calculator from './utils/calculator';
const doASum = () => {
let a = 5;
let b = 10;
return calculator.sum(a, b);
};
const doADif = () => {
let a = 5;
let b = 10;
return calculator.dif(a, b);
};
export {
doASum,
doADif
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment