- Create a function expression
doTheMath(num1, sign, num2)that will return the result of the mathematic operations of num1 operator num2. Allowed operators (signs) are+,-,*,/,%,**. Hint: you can use theswitchstatement. - Refactor the function in the arrow manner.
Created
July 10, 2020 15:25
-
-
Save sandrabosk/02ce48201ee6227c9df55609ee6c5c14 to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment