I shudder when I see `void 0` instead of `undefined`
@cheedear I meant that in V8’s source `.js` files, `undefined` *doesn’t exist*, and you have no choice but to use `void 0`. +@angustweets
-
-
@mathias@angustweets i would assume. and also to prevent shudderingThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@mathias oh, that's interesting. thanks -
This Tweet is unavailable.
- 1 more reply
New conversation -
-
-
@mathias so in macros.py they set 'UNDEFINED = void 0' so that they can refer to UNDEFINED rather than void 0. for the sake of clarityThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@mathias thankyou for giving me a reason to clone the v8 repo btw, I've been having a blast reading itThanks. Twitter will use this to make your timeline better. UndoUndo
-
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.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.