mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
be577615c8
Moving `try / catch` into separate functions is not necessary anymore due to V8 optimizations. PR-URL: https://github.com/nodejs/node/pull/26970 Refs: https://github.com/nodejs/node/pull/25362 Reviewed-By: Guy Bedford <guybedford@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
17 lines
612 B
Plaintext
17 lines
612 B
Plaintext
before
|
|
evalmachine.<anonymous>:1
|
|
foo.bar = 5;
|
|
^
|
|
|
|
ReferenceError: foo is not defined
|
|
at evalmachine.<anonymous>:1:1
|
|
at Script.runInContext (vm.js:*)
|
|
at Script.runInNewContext (vm.js:*)
|
|
at Object.runInNewContext (vm.js:*)
|
|
at Object.<anonymous> (*test*message*undefined_reference_in_new_context.js:*)
|
|
at Module._compile (internal/modules/cjs/loader.js:*)
|
|
at *..js (internal/modules/cjs/loader.js:*)
|
|
at Module.load (internal/modules/cjs/loader.js:*)
|
|
at Function.Module._load (internal/modules/cjs/loader.js:*:*)
|
|
at Function.Module.runMain (internal/modules/cjs/loader.js:*:*)
|