1

What is the order of operation in this code?

Does it start with the brackets, then multiply the result by the value generated by Math.random() then finally it adds the min variable?

function randTime(min, max) {
  return Math.random() * (max - min) + min;
}
Always Helping
  • 14,316
  • 4
  • 13
  • 29
Alana
  • 13
  • 1

0 Answers0