16 lines
390 B
JavaScript
16 lines
390 B
JavaScript
'use strict';
|
|
|
|
var ValidateAndApplyPropertyDescriptor = require('./ValidateAndApplyPropertyDescriptor');
|
|
|
|
// https://262.ecma-international.org/6.0/#sec-iscompatiblepropertydescriptor
|
|
|
|
module.exports = function IsCompatiblePropertyDescriptor(Extensible, Desc, Current) {
|
|
return ValidateAndApplyPropertyDescriptor(
|
|
void undefined,
|
|
void undefined,
|
|
Extensible,
|
|
Desc,
|
|
Current
|
|
);
|
|
};
|