title: Spread operator for strings
body: <p>I read about <em>spread syntax</em> on <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_operator" rel="noreferrer">MDN</a> and that it can be used with both arrays and strings:</p>
  
  <blockquote>
    <p>Spread syntax allows an iterable such as an <strong>array</strong> expression or <strong>string</strong> to be expanded in places where zero or more arguments (for function calls) are expected - mdn.</p>
  </blockquote>
  
  <p>It's clear for me with arrays. It will expand the elements as separate arguments.<br>
  But I didn't find examples for strings.</p>
  
  <p>So, what are the rules to use spread syntax to expand a string in a function call?<br>
  Should the string characters be separated with spaces cause I tried this and it printed 3.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var x = "1 2 3";
  console.log(Math.max(...x));</code></pre>
  </div>
  </div>
  </p>