Sha256: 47be29545c3dd254165a8f83861bb94e129172120e669f6f50c88fc43f57c717
Contents?: true
Size: 445 Bytes
Versions: 243
Compression:
Stored size: 445 Bytes
Contents
'use strict'; var assertRecord = require('../helpers/assertRecord'); var fromPropertyDescriptor = require('../helpers/fromPropertyDescriptor'); var Type = require('./Type'); // https://262.ecma-international.org/6.0/#sec-frompropertydescriptor module.exports = function FromPropertyDescriptor(Desc) { if (typeof Desc !== 'undefined') { assertRecord(Type, 'Property Descriptor', 'Desc', Desc); } return fromPropertyDescriptor(Desc); };
Version data entries
243 entries across 27 versions & 2 rubygems