ags
This commit is contained in:
parent
eddf7cecb8
commit
aea798d119
16631 changed files with 1480363 additions and 257 deletions
11
home/ags/node_modules/es-abstract/helpers/isFullyPopulatedPropertyDescriptor.js
generated
vendored
Normal file
11
home/ags/node_modules/es-abstract/helpers/isFullyPopulatedPropertyDescriptor.js
generated
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
'use strict';
|
||||
|
||||
var isPropertyDescriptor = require('./records/property-descriptor');
|
||||
|
||||
module.exports = function isFullyPopulatedPropertyDescriptor(ES, Desc) {
|
||||
return isPropertyDescriptor(Desc)
|
||||
&& typeof Desc === 'object'
|
||||
&& '[[Enumerable]]' in Desc
|
||||
&& '[[Configurable]]' in Desc
|
||||
&& (ES.IsAccessorDescriptor(Desc) || ES.IsDataDescriptor(Desc));
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue