Skip to content

Instantly share code, notes, and snippets.

@xavi-tristancho
Last active September 22, 2018 20:40
Show Gist options
  • Select an option

  • Save xavi-tristancho/5e644ddec35bf867482c1c11ff510079 to your computer and use it in GitHub Desktop.

Select an option

Save xavi-tristancho/5e644ddec35bf867482c1c11ff510079 to your computer and use it in GitHub Desktop.
//algebra.js
export function sum(x,y) {
return x + y
}
export function times(x,y) {
return x*y
}
//calculadora.js
import { sum } from "./algebra.js";
sum(1,2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment