odin-js-fundamentals-part-5/node_modules/es-abstract/2017/IsCompatiblePropertyDescrip...

10 lines
367 B
JavaScript
Raw Normal View History

2024-01-11 08:52:05 +00:00
'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);
};