Comment Comment by MJSplot_author But it is also true that: let a = {key: 'a'}; function foo( a ) { a['otherKey'] = 'b'; } foo( a ); console.log( a ); // {key: 'a',otherKey: 'b'} parent MJSplot_author 8 years ago