create-property-descriptor.js 173 B

12345678
  1. module.exports = function (bitmap, value) {
  2. return {
  3. enumerable: !(bitmap & 1),
  4. configurable: !(bitmap & 2),
  5. writable: !(bitmap & 4),
  6. value: value
  7. };
  8. };