blob: f24ac49ea02f45ee2b1ad4398850837942b4276b [file] [log] [blame]
Test for Runtime.globalLexicalScopeVariablesNames
Running 'let a = 1'
Values:
a = 1
Running 'let b = 2'
Values:
a = 1
b = 2
Running 'let b = 3'
Values:
a = 1
b = 2
Running 'const c = 4'
Values:
a = 1
b = 2
c = 4
Running 'var d = 5'
(should not be in list of scoped variables)
Values:
a = 1
b = 2
c = 4
Running 'class Foo{}'
Values:
a = 1
b = 2
c = 4
Foo =
{
className : Function
description : class Foo{}
objectId : <objectId>
type : function
}
Adding script with scope variables
Values:
a = 1
b = 2
c = 4
Foo =
{
className : Function
description : class Foo{}
objectId : <objectId>
type : function
}
e = 1
f = 2
g = 3
Boo =
{
className : Function
description : class Boo {}
objectId : <objectId>
type : function
}