odin-js-fundamentals-part-4/node_modules/es-abstract/2023/IsCompatiblePropertyDescrip...

10 lines
361 B
JavaScript
Raw Normal View History

2024-01-05 19:30:21 +00:00
'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);
};