Node 5.10 spread operator not working
<p><a href="https://nodejs.org/en/docs/es6/#which-features-ship-with-node-js-by-default-no-runtime-flag-required">According to the docs</a>, the latest node (Node 5+) should support the spread operator by default, like so:</p>

<pre><code>const newObj = {
        ...oldObj,
        newProperty: 1
      }
</code></pre>

<p>And I have node 5.10.1 installed (e.g. that's what 'node -v' tells me). But I am still getting this error:</p>

<pre><code>c:\[myprojectfolder]&gt;node index.js
c:\[myprojectfolder]\index.js:21
            ...oldObj,
            ^^^

SyntaxError: Unexpected token ...
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:387:25)
    at Object.Module._extensions..js (module.js:422:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Function.Module.runMain (module.js:447:10)
    at startup (node.js:146:18)
    at node.js:404:3
</code></pre>

<p>What am I missing?</p>