- 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 16:23
-
-
Save sandrabosk/c8e2957f80b91fdad54cbfc6921779bd 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