Assignment5_new/node_modules/es-abstract/2022/IsCompatiblePropertyDescriptor.js
2025-01-07 10:44:59 +05:30

10 lines
361 B
JavaScript

'use strict';
var ValidateAndApplyPropertyDescriptor = require('./ValidateAndApplyPropertyDescriptor');
// https://262.ecma-international.org/13.0/#sec-iscompatiblepropertydescriptor
module.exports = function IsCompatiblePropertyDescriptor(Extensible, Desc, Current) {
return ValidateAndApplyPropertyDescriptor(undefined, '', Extensible, Desc, Current);
};