JavaScript alternatives
<p>In some projects that I work, was added some blocks with this syntax:</p>

<pre><code>var [code, name] = input.split("/");
console.log(code);
console.log(name);
</code></pre>

<p>I really like this, is so simple and small. It's true I can do this using other syntax like:</p>

<pre><code>var code_name = input.split("/");
console.log(code_name[0]);
console.log(code_name[1]);
</code></pre>

<p>But, some browsers like Google Chrome and Opera dont support this "feature". Somebody know if this is a future feature of JS or is deprecated? In case deprecated, exist some beaultiful alternative to the first case?</p>

<p>Thanks for all.</p>
