mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
lib: add globalThis to primordials
PR-URL: https://github.com/nodejs/node/pull/38211 Reviewed-By: Bradley Farias <bradley.meck@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
const {
|
||||
globalThis,
|
||||
} = primordials;
|
||||
|
||||
process.emitWarning(
|
||||
'These APIs are for internal testing only. Do not use them.',
|
||||
'internal/test/binding');
|
||||
|
||||
Reference in New Issue
Block a user