Destructure array to object property keys
<p>I have an array of values like:</p>

<pre><code>const arr = [1,2,3];
</code></pre>

<p>Is there any way I can use destructuring to create the following output? If not, what is the easiest way I can do this in ES6 (or later)?</p>

<pre><code>const obj = {
    one: 1,
    two: 2,
    three: 3
};
</code></pre>

<p>I tried this, but I guess it doesn't work as this is the syntax for computed keys:</p>

<pre><code>const arr = [1,2,3];
const obj = {
  [one, two, three] = arr
};
</code></pre>