write a function in Javascript for rotation

Job ID: 37923617

Budget: €8 – €30 EUR

More details:

What is the purpose of the function you need in JavaScript? Perform calculations
What kind of calculations does your function need to perform? Basic arithmetic (addition, subtraction, multiplication, division)
Will your function need to handle multiple types of calculations at once or just one at a time? One type of calculation at a time