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
1.1.42
win x64
When using toString() on function the if its not in the output
var t = () => { if (1 == 1) print(32) } console.log(t.toString());
output :
() => { print(32); }
instead of
() => { if (1 == 1) print(32) }
The if is in the output
In node it works and the output is
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What version of Bun is running?
1.1.42
What platform is your computer?
win x64
What steps can reproduce the bug?
When using toString() on function the if its not in the output
output :
instead of
What is the expected behavior?
The if is in the output
What do you see instead?
Additional information
In node it works and the output is
The text was updated successfully, but these errors were encountered: