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

Output in wrong order? #497

Open
lukehaas opened this issue Nov 2, 2022 · 1 comment
Open

Output in wrong order? #497

lukehaas opened this issue Nov 2, 2022 · 1 comment
Labels
question Further information is requested

Comments

@lukehaas
Copy link
Owner

lukehaas commented Nov 2, 2022

Why does the output appear out of order?

@lukehaas
Copy link
Owner Author

lukehaas commented Nov 2, 2022

By default, RunJS will display the output of your code on the same line as the corresponding source. For example, here are two statements, on lines two and four respectively and their output results are displayed on the same lines:

match-lines

In some scenarios, this behaviour might not be what you want, for example, if you're running asynchronous code and expecting the output results to appear in a particular order. In that case, you can turn this behaviour off by going to the preferences and unticking the Match Lines option.

Screenshot 2022-11-02 at 11 58 57

@lukehaas lukehaas pinned this issue Nov 2, 2022
@lukehaas lukehaas added the question Further information is requested label Nov 2, 2022
Repository owner locked as resolved and limited conversation to collaborators Nov 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant