Skip to content

Instantly share code, notes, and snippets.

@rahulmalhotra
Created October 4, 2020 05:28
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 rahulmalhotra/9790cc4aaa6e0c37c370e9318d39f35a to your computer and use it in GitHub Desktop.
Save rahulmalhotra/9790cc4aaa6e0c37c370e9318d39f35a to your computer and use it in GitHub Desktop.
This code snippet is used in Testing JavaScript Code using Jasmine JavaScript Tutorial on SFDC Stop
// * Library to perform arithmetic operations
function add(a, b) {
return a+b;
}
function sub(a, b) {
return a-b;
}
function mul(a, b) {
return a*b;
}
function div(a, b) {
return a/b;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment