javascript is one of the languages of all time

en/de
24
amateur math student
professional slash shipper and shitchoster
average math/programming/game dev enjoyer
proud parent of @JWST-live
asks always welcome :3
mutuals, feel free to dm on discord
might reblog light nsfw, be warned

javascript is one of the languages of all time
TIRED: Comments removed by the lexer/parser
WIRED: Compile-time meaningful comments
HIRED: Runtime meaningful comments
I'm sure this is already being used by some DRM/anti-adblock scheme somewhere
I just tried this because I was like “nah surely not, right?” I apologize for having distrusted you, it absolutely works.
I'm pretty sure I've seen this being used as an actual feature in a COBOL interpreter in JS.
I think the reason might have been to attach the code (in comments) to functions, without doing any API calls.
i like janet-langs docstrings better, which are now directly accessable via ctrl+g with the cursor on a symbol in the repl