Question: JavaScript 1. Define a function called roll_dice whose function comment reads as follows. /** Returns the result of rolling two dice. Here are some possible
JavaScript

1. Define a function called roll_dice whose function comment reads as follows. /** Returns the result of rolling two dice. Here are some possible return values. '1 + 2 = 3' '6 + 4 = 100 3 + 5 8' 2 + 2 4' = = The probability distribution of the return values is the same as rolling two fair dice in real life. @return {string} The result of rolling two dice. */
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
