paradiego
This commit is contained in:
11
node_modules/es-abstract/helpers/isFullyPopulatedPropertyDescriptor.js
generated
vendored
Normal file
11
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));
|
||||
};
|
||||
Reference in New Issue
Block a user