1 var $ = require('../internals/export');
2 var getCompositeKeyNode = require('../internals/composite-key');
3 var getBuiltIn = require('../internals/get-built-in');
4 var apply = require('../internals/function-apply');
6 // https://github.com/tc39/proposal-richer-keys/tree/master/compositeKey
8 compositeSymbol: function compositeSymbol() {
9 if (arguments.length == 1 && typeof arguments[0] == 'string') return getBuiltIn('Symbol')['for'](arguments[0]);
10 return apply(getCompositeKeyNode, null, arguments).get('symbol', getBuiltIn('Symbol'));