Skip to content

Instantly share code, notes, and snippets.

@SarveshKadam
Created October 20, 2020 07:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SarveshKadam/07c0ea297790896d23ea6aaa7f4861e0 to your computer and use it in GitHub Desktop.
Save SarveshKadam/07c0ea297790896d23ea6aaa7f4861e0 to your computer and use it in GitHub Desktop.
// - - Exported file [calculate.js] - - 
const Add = class{
  constructor(a,b){
  this.a = a;
  this.b = b;
  }
result(){
  return this.a + this.b
  }
}
module.exports = Add;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment