lukehaas/RunJS

Output in wrong order?

lukehaas opened this issue · 1 comments

Why does the output appear out of order?

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