title: Python-like unpacking in JavaScript
body: <p>I have the following string</p>
  
  <pre><code>output_string = "[10, 10, [1,2,3,4,5], [10,20,30,40,50]]"
  </code></pre>
  
  <p>Then I <code>JSON.parse</code> it</p>
  
  <pre><code>my_args = JSON.parse(output_string)
  </code></pre>
  
  <p>How do I unpack it in a Python-like way so that every element in <code>my_args</code> becomes an argument to a JavaScript function?</p>
  
  <pre><code>some_javascript_function(*my_args)
  // should be equivalent to:
  some_javascript_function(my_args[0],my_args[1],my_args[2],my_args[3])
  // or:
  some_javascript_function(10, 10, [1,2,3,4,5], [10,20,30,40,50])
  </code></pre>
  
  <p>Is there a core JavaScript idiom that does that?</p>