### Repro ```js var stringify = require( 'javascript-stringify' ) stringify( { hello() {} } ) ``` ### Current Result ```js { hello: hello() {} } ``` it's not a valid JS syntax as missing the function prefix ### Expected Result ```js { hello: function hello() {} } ``` ### Related code https://github.com/blakeembrey/javascript-stringify/blob/9d2b937ac768d41239ca0088aff90e5ef4e7e113/javascript-stringify.js#L205