mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
251 B
13 lines
251 B
9 years ago
|
'use strict';
|
||
|
|
||
|
var d = require('d')
|
||
|
|
||
|
, defineProperty = Object.defineProperty;
|
||
|
|
||
|
module.exports = function (T, a) {
|
||
|
var symbol = T('test'), x = {};
|
||
|
defineProperty(x, symbol, d('foo'));
|
||
|
a(x.test, undefined, "Name");
|
||
|
a(x[symbol], 'foo', "Get");
|
||
|
};
|