Skip to content

Instantly share code, notes, and snippets.

@anmolsukki
Created May 5, 2020 12:09
Show Gist options
  • Select an option

  • Save anmolsukki/3ed41162951da37225fc9d69b729a2be to your computer and use it in GitHub Desktop.

Select an option

Save anmolsukki/3ed41162951da37225fc9d69b729a2be to your computer and use it in GitHub Desktop.
[ NodeJs ] Export Module ( https://repl.it/@anmolsukki/ExportFile )
const add = require("./Utils")
const sum = add(4, -2)
console.log(sum)
const add = function(a, b) {
return a + b
}
module.exports = add
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment