logo
logo

Calculator

Calculator

Create an object called
calculator
with properties
add
,
subtract
,
multiply
, and
divide
, each of which is an arrow function that takes in two numbers and performs the corresponding operation. Use the object literal syntax.
Console
Submit
Solution
00:00