d on that range:</p>
<pre><code class="language-swift">let numbers = 0...9
let shuffledNumbers = numbers.shuffled()
// shuffledNumbers == [1, 7, 6, 2, 8, 9, 4, 3, 5, 0]
</code></pre>
<p>This method is equivalent to calling <code>shuffled(using:)</code>, passing in the
system's default random generator.</p>
<blockquote>
<p>Complexity:
O(<em>n</em>), where <em>n</em> is the length of the sequence.</p>
</blockquote>
<h4>Declaration</h4><code class="language-swift">@inlinable public func shuffled() -> [Self.Ele