You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/myr/reference.js
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -266,9 +266,14 @@ let transformations = [
266
266
{
267
267
name: "getRandomColor",
268
268
parameters: [{type: "array",name: "colors"}],
269
-
description: <span>The getRandomColor function returns a random color and changes the color of the cursor. If passed an array, getRandomColor will choose randomly from the given colors.</span>,
269
+
description: <span>The getRandomColor function returns a random color. If passed an array, getRandomColor will choose randomly from the given colors.</span>,
270
270
example: "getRandomColor"
271
271
},
272
+
{
273
+
name: "setRandomColor",
274
+
parameters: [{type: "array",name: "colors"}],
275
+
description: <span>The setRandomColor function changes the color of the cursor to a random color. If passed an array, setRandomColor will choose randomly from the given colors.</span>,
0 commit comments