Created
October 4, 2020 05:28
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// * 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