IsCompatiblePropertyDescriptor.js 367 B

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