destructure a parameter and keep reference to it too
<p>Is there a way in ES6 to destructure a parameter and reference it by name as well?</p>
<pre><code>myfunction(myparam) {
    const {myprop} = myparam;
    ...
}
</code></pre>
<p>Can this be done in a single line in the function parameter list? Something similar to Haskell's <code>@</code> in pattern matching.</p>