2017-09-12 20:31:00 +00:00
|
|
|
Checks [[Scopes]] for functions
|
|
|
|
Catch:
|
|
|
|
{
|
|
|
|
configurable : true
|
|
|
|
enumerable : true
|
|
|
|
isOwn : true
|
|
|
|
name : a
|
|
|
|
value : {
|
2018-05-31 18:51:49 +00:00
|
|
|
description : 1
|
2017-09-12 20:31:00 +00:00
|
|
|
type : number
|
|
|
|
value : 1
|
|
|
|
}
|
|
|
|
writable : true
|
|
|
|
}
|
|
|
|
With block:
|
|
|
|
{
|
|
|
|
configurable : true
|
|
|
|
enumerable : true
|
|
|
|
isOwn : true
|
|
|
|
name : b
|
|
|
|
value : {
|
2018-05-31 18:51:49 +00:00
|
|
|
description : 2
|
2017-09-12 20:31:00 +00:00
|
|
|
type : number
|
|
|
|
value : 2
|
|
|
|
}
|
|
|
|
writable : true
|
|
|
|
}
|
|
|
|
Closure (closure):
|
|
|
|
{
|
|
|
|
configurable : true
|
|
|
|
enumerable : true
|
|
|
|
isOwn : true
|
|
|
|
name : c
|
|
|
|
value : {
|
2018-05-31 18:51:49 +00:00
|
|
|
description : 3
|
2017-09-12 20:31:00 +00:00
|
|
|
type : number
|
|
|
|
value : 3
|
|
|
|
}
|
|
|
|
writable : true
|
|
|
|
}
|
|
|
|
Global:
|
|
|
|
{
|
|
|
|
configurable : false
|
|
|
|
enumerable : true
|
|
|
|
isOwn : true
|
|
|
|
name : e
|
|
|
|
value : {
|
2018-05-31 18:51:49 +00:00
|
|
|
description : 5
|
2017-09-12 20:31:00 +00:00
|
|
|
type : number
|
|
|
|
value : 5
|
|
|
|
}
|
|
|
|
writable : true
|
|
|
|
}
|