Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on HTML comments work in JavaScript too. Parent comment
https://github.com/v8/v8/blob/main/src/parsing/scanner-inl.h...
and
https://github.com/v8/v8/blob/main/src/parsing/scanner.cc#L3...
And also this nice article:
https://v8.dev/blog/scanner
"The scanner chooses a specific scanner method or token based on a maximum lookahead of 4 characters, the longest ambiguous sequence of characters in JavaScript"
There are no comments on this comment yet.
https://github.com/v8/v8/blob/main/src/parsing/scanner-inl.h...
and
https://github.com/v8/v8/blob/main/src/parsing/scanner.cc#L3...
And also this nice article:
https://v8.dev/blog/scanner
"The scanner chooses a specific scanner method or token based on a maximum lookahead of 4 characters, the longest ambiguous sequence of characters in JavaScript"