Auto Die Roll explainer

The aim of this puzzle: Create a program that will roll the die again if it is initially 6.
Walkthrough of the solution: The line of code pickRandom(6) is acting as a proxy for rolling a die (since there are 6 sides to a die). In this puzzle you’ll need to add an if statement to check if the first roll of the die is equal to 6. The variable moves is holding the die value, so the condition () of the if statement should check to see if moves === 6. If that condition is True, then the program should roll the die again (i.e. pickRandom(6)). The output of the second roll needs to be added to the initial moves value, which can be done like this: moves = moves + pickRandom(6).
Sample code solution:
(Tap below to reveal)

var moves = pickRandom(6);
if(moves === 6) {
  moves = moves + pickRandom(6);
print("Move your piece forward by " + moves);

JavaScript Concepts: Code Block (if statement), Conditionals (===), Variables Declaration, Calling Functions, Identifiers, Binary Expression (+)
Grasshopper Concepts: print(), pickRandom()