{
  "id": "fn-array-shuffle",
  "dataComponent": "array",
  "heading": {
    "title": "shuffle",
    "badges": ["Array"]
  },
  "synopsis": "Returns a new array with the elements in random order.",
  "codeBlocks": [
    "extend(\"array\")\n\nnums = [1,2,3,4,5]\nsput(array:shuffle(nums))\n// => e.g. [4,1,5,3,2]"
  ],
  "notes": [
    "Shuffles randomly; does not modify original.",
    "Returns a new array."
  ]
}
