
Webpack seems to mess up objects of classes that
extend Array. This should work, I believe, and it
does work in node and in jsfiddle: 
https://jsfiddle.net/sigfried/n2pab49q/

Install and run:

     git clone https://gist.github.com/Sigfried/5c96b880d7986776e541
     cd 5c96b880d7986776e541
     npm install
     npm run build

Then point your browser at http://localhost:8080/webpack-dev-server/
and open the console.

To see it working on node:

     node index.js
