pub fn constant(name: &str) -> Option<Value>Expand description
Non-function members of the worker_threads namespace:
isMainThread/threadId/parentPort/workerData, and the Worker
constructor (as a Builtin("Worker") so new Worker(...) reaches
construct_worker).