2017-11-06 16:22:10 +00:00
|
|
|
Runtime.getProperties for objects with accessor
|
|
|
|
title property with getter and setter:
|
|
|
|
{
|
2018-10-31 16:16:39 +00:00
|
|
|
configurable : true
|
|
|
|
enumerable : true
|
2017-11-06 16:22:10 +00:00
|
|
|
get : {
|
|
|
|
className : Function
|
2018-10-31 16:16:39 +00:00
|
|
|
description : function () { [native code] }
|
2017-11-06 16:22:10 +00:00
|
|
|
objectId : <objectId>
|
|
|
|
type : function
|
|
|
|
}
|
|
|
|
isOwn : true
|
|
|
|
name : title
|
|
|
|
set : {
|
|
|
|
className : Function
|
2018-10-31 16:16:39 +00:00
|
|
|
description : function () { [native code] }
|
2017-11-06 16:22:10 +00:00
|
|
|
objectId : <objectId>
|
|
|
|
type : function
|
|
|
|
}
|
|
|
|
}
|
|
|
|
title property with getter only:
|
|
|
|
{
|
2018-10-31 16:16:39 +00:00
|
|
|
configurable : true
|
|
|
|
enumerable : true
|
2017-11-06 16:22:10 +00:00
|
|
|
get : {
|
|
|
|
className : Function
|
2018-10-31 16:16:39 +00:00
|
|
|
description : function () { [native code] }
|
2017-11-06 16:22:10 +00:00
|
|
|
objectId : <objectId>
|
|
|
|
type : function
|
|
|
|
}
|
|
|
|
isOwn : true
|
|
|
|
name : title
|
|
|
|
}
|