-
Notifications
You must be signed in to change notification settings - Fork 195
Open
@leobastiani
Description
https://runkit.com/leobastiani/javascript-serialize-bug-variable-function-destructuring
Try the following code:
const serialize = require("javascript-serialize"); // version 1.6.1 const obj = { someKey() { const someVariable = ({ someParam }) => {}; }, }; serialize(obj);
and get: { "someKey": "someKey() { ...
Metadata
Metadata
Assignees
Labels
No labels