function foo () { var Object = { keys: function () { console.log( 'side-effect' ); } }; var obj = { foo: 1, bar: 2 }; var keys = Object.keys( obj ); } foo(); export default 42;