DevTools: module scope is not visible when evaluating in console |
|
Issue description
Easy to repro with Node.js:
class Foo {
}
module.exports = Foo;
1. Connect DevTools to Node.
2. Type "new Foo()" in console.
3. See error "Foo is not defined".
|
|
►
Sign in to add a comment |
|
Comment 1 by kozyatinskiy@chromium.org
, Jun 5 2017