IsCompatiblePropertyDescriptor.js 361 B

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