Skip to content
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

wrong console logging for new String("t") #17663

Closed
huseeiin opened this issue Feb 25, 2025 · 1 comment · Fixed by #17761
Closed

wrong console logging for new String("t") #17663

huseeiin opened this issue Feb 25, 2025 · 1 comment · Fixed by #17761
Labels
bug Something isn't working confirmed bug We can reproduce this issue console Related to console apis node.js Compatibility with Node.js APIs

Comments

@huseeiin
Copy link
Contributor

What version of Bun is running?

1.2.3-canary.31+fc7bd569f

What platform is your computer?

Linux 6.8.0-49-generic x86_64 x86_64

What steps can reproduce the bug?

console.log(new String("t"));

What is the expected behavior?

[String: "t"]

What do you see instead?

t

Additional information

No response

@huseeiin huseeiin added bug Something isn't working needs triage labels Feb 25, 2025
@huseeiin huseeiin changed the title wrong console logging for console.log(new String("t")); wrong console logging for new String("t") Feb 25, 2025
@RiskyMH RiskyMH added node.js Compatibility with Node.js APIs console Related to console apis confirmed bug We can reproduce this issue labels Feb 25, 2025
@190n 190n removed the needs triage label Feb 26, 2025
@Pranav2612000
Copy link
Contributor

I'll like to give this a try! PR coming up ⏳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed bug We can reproduce this issue console Related to console apis node.js Compatibility with Node.js APIs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants