main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
355 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 |
|
---|
3 | var isPropertyDescriptor = require('./records/property-descriptor');
|
---|
4 |
|
---|
5 | module.exports = function isFullyPopulatedPropertyDescriptor(ES, Desc) {
|
---|
6 | return isPropertyDescriptor(Desc)
|
---|
7 | && typeof Desc === 'object'
|
---|
8 | && '[[Enumerable]]' in Desc
|
---|
9 | && '[[Configurable]]' in Desc
|
---|
10 | && (ES.IsAccessorDescriptor(Desc) || ES.IsDataDescriptor(Desc));
|
---|
11 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.