New issue
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
console.log
could show JSON content by default
#1146
Comments
This is (IMO) blocked by dop251/goja#162 as I really don't want for someone to |
Ah, yeah, fair enough... 😞 |
codebien
added a commit
that referenced
this issue
Feb 4, 2022
codebien
added a commit
that referenced
this issue
Mar 4, 2022
codebien
added a commit
that referenced
this issue
Mar 4, 2022
codebien
added a commit
that referenced
this issue
Mar 29, 2022
codebien
added a commit
that referenced
this issue
Apr 4, 2022
codebien
added a commit
that referenced
this issue
Apr 4, 2022
codebien
added a commit
that referenced
this issue
Apr 4, 2022
codebien
added a commit
that referenced
this issue
Apr 5, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
During debugging when working with JSON format, it is common to use the
console.log
to see the response body.k6 will output
[object Object]
.You can use
JSON.stringify()
if you want to see the content:It could be good if
k6
prints by default t the JSON content as browsers and node do.The text was updated successfully, but these errors were encountered: