Closed
Description
Version
22.0.0
Platform
Microsoft Windows NT 10.0.22631.0 x64
Subsystem
No response
What steps will reproduce the bug?
Import constants
from node:vm
. Log it, it returns undefined
How often does it reproduce? Is there a required condition?
No response
What is the expected behavior? Why is that the expected behavior?
constants
is meant to return an object
What do you see instead?
undefined
Additional information
Was following along this issue: #51154
I wanted to be able to use import
in my Script
instance, and the constants are supposed to allow me use the default loader without flags, but the constants object is returning undefined. I am using