flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
11
BACK_BACK/node_modules/es-abstract/helpers/isFullyPopulatedPropertyDescriptor.js
generated
vendored
Executable file
11
BACK_BACK/node_modules/es-abstract/helpers/isFullyPopulatedPropertyDescriptor.js
generated
vendored
Executable 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