UNPKG

es-abstract

Version:

ECMAScript spec abstract operations.

10 lines (6 loc) 367 B
'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); };