UNPKG

es-abstract

Version:

ECMAScript spec abstract operations.

16 lines (12 loc) 379 B
'use strict'; var ValidateAndApplyPropertyDescriptor = require('./ValidateAndApplyPropertyDescriptor'); // https://262.ecma-international.org/13.0/#sec-iscompatiblepropertydescriptor module.exports = function IsCompatiblePropertyDescriptor(Extensible, Desc, Current) { return ValidateAndApplyPropertyDescriptor( void undefined, '', Extensible, Desc, Current ); };