Skip to content

Instantly share code, notes, and snippets.

@bennycode
Created March 20, 2023 13:47
Show Gist options
  • Save bennycode/70d848665ece8877c41f15edbd8ed2c1 to your computer and use it in GitHub Desktop.
Save bennycode/70d848665ece8877c41f15edbd8ed2c1 to your computer and use it in GitHub Desktop.
CommonJS
function add(a, b) {
return a + b;
}
exports.add = add;
function substract(a, b) {
return a - b;
}
exports.substract = substract;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment