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

Add asObjectBindingsOnly, allowing write to receive only the bindings as object #2051

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

segevfiner
Copy link
Contributor

This allows to pass the format string and args as
is the underlying console when to keep their
special handling, for when using write to only
modify the default way the printing to the console
looks rather than writing to an alternate
destination entirely.

The name of the option and its behavior is obviously open for discussion

Part of #1556

… as object

This allows to pass the format string and args as
is the underlying console when to keep their
special handling, for when using `write` to only
modify the default way the printing to the console
looks rather than writing to an alternate
destination entirely.

Part of pinojs#1556
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for opening a PR! Can you please add a unit test?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants