index.js 271 B

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