inspect: add Temporal support - #63154
Conversation
|
i'm confused, why would it need to be lazily accessed instead of using primordials? |
|
the subsystem should be "util". |
dc57ba9 to
85e728e
Compare
|
Alternative approach to the "how to Temporal" problem. This hooks into the pre-execution initializers and creates some typechecking functions and saves the constructor and prototype properties, primordial-ish, if Temporal exists. We don't use this approach for any other ES builtins, only Node.js APIs, so does need consideration as to whether this is kosher. However, it does also provide for if we want to create or manipulate Temporal objects elsewhere in the API. |
85e728e to
925fe74
Compare
Signed-off-by: Renegade334 <contact.9a5d6388@renegade334.me.uk>
925fe74 to
3f3868a
Compare
|
This pull request has been marked as stale due to 90 days of inactivity. |
Example output: