PromoCursed/node_modules/es-abstract/2019/IsCompatiblePropertyDescriptor.js
2024-08-20 23:25:37 +04:00

10 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);
};