-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Killed -> terminated or shut down.
-
Thanks! Updated. When is this feature coming to Jest?
- 10 more replies
New conversation -
-
-
Very cool! I love that the codeframe is located within the stack trace _and_ that it's showing all the relevant codeframes. Very cool. Plans to do syntax highlighting there eventually?
-
Yeah syntax highlighting would be nice. The diagnostic format requires a 'language' property for all code frames so it's possible. Haven't done it precisely because it's a lot of work to get right, eg. not making it overwhelming with the current colored output.
- 2 more replies
New conversation -
-
-
Just for curiosity, why in Parsers jargon, `eat` verb is used?
-
It's usually used to mean "if the current token is this type, then move to the next one". It typically returns a boolean as to whether it advanced to the next token. It simplifies a lot of parsing code.
End of conversation
New conversation -
-
-
Could you publish few real examples of infinite loops ? Thanks
-
Basic examples you may have seen before: while (true) {} (function a() { a(); })(); The sort if infinite looped I encounter are more complicated. Any sufficiently complex recursive code can fail. Another place you may have seen it is "maximum call stack depth".
End of conversation
New conversation -
-
-
Would it be possible to show the “current value” of the variables in view? The times I’ve wound up writing an infinite loop was because of off-by-1 errors or poorly written algorithms that never incremented.
-
Yeah it could. It has access to the whole V8 debugger. What would be even better is having a flag that automatically pauses when it happens so you can connect an inspector to try yourself.
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 