A really simple proof of concept for using shims in Node.js. To run (after cloning/downloading locally): $ npm install $ node js/app.js Expected output: [ '1---Test', '2---Test', '3---Test' ] [ [ 'test', true ], [ 'label', 'The Global Shim' ] ]