Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
function log(message) {
console.log(message);
}
export function add(x, y) {
log(`Adding ${x} to ${y}`);
return x + y;
}
export function subtract(x, y) {
log(`Subtracting ${y} from ${x}`);
return x - y;
}
export var e = 2.71;
export var pi = 3.14;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment