Constnium/node_modules/es-abstract/2018/IsCompatiblePropertyDescriptor.js
2022-06-23 02:27:43 +02:00

9 lines
367 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(undefined, undefined, Extensible, Desc, Current);
};