1
0

index.js 251 B

123456789101112
  1. 'use strict';
  2. var d = require('d')
  3. , defineProperty = Object.defineProperty;
  4. module.exports = function (T, a) {
  5. var symbol = T('test'), x = {};
  6. defineProperty(x, symbol, d('foo'));
  7. a(x.test, undefined, "Name");
  8. a(x[symbol], 'foo', "Get");
  9. };