We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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() { ...
{ "someKey": "someKey() { ...
The text was updated successfully, but these errors were encountered:
i ran into this too, to me it happens without the function using destructuring too. (v6.0.0)
Sorry, something went wrong.
No branches or pull requests
https://runkit.com/leobastiani/javascript-serialize-bug-variable-function-destructuring
Try the following code:
and get:
{ "someKey": "someKey() { ...
The text was updated successfully, but these errors were encountered: