You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
Can someone clue me in as to why Float32Array is undefined when referenced in a script executed by vm.runInNewContext()? I arrived here while debugging test failures after bumping the traceur version in es6ify.
node ./Float32Array.js is fine, but node ./vm-Float32Array.js results in:
/.../vm-Float32Array.js:5
vm.runInNewContext(
^
ReferenceError: Float32Array is not defined
at evalmachine.<anonymous>:1:1
at Object.<anonymous> (/.../vm-Float32Array.js:5:4)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3