source: imaps-frontend/node_modules/core-js/modules/esnext.composite-key.js

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 685 bytes
Line 
1'use strict';
2var $ = require('../internals/export');
3var apply = require('../internals/function-apply');
4var getCompositeKeyNode = require('../internals/composite-key');
5var getBuiltIn = require('../internals/get-built-in');
6var create = require('../internals/object-create');
7
8var $Object = Object;
9
10var initializer = function () {
11 var freeze = getBuiltIn('Object', 'freeze');
12 return freeze ? freeze(create(null)) : create(null);
13};
14
15// https://github.com/tc39/proposal-richer-keys/tree/master/compositeKey
16$({ global: true, forced: true }, {
17 compositeKey: function compositeKey() {
18 return apply(getCompositeKeyNode, $Object, arguments).get('object', initializer);
19 }
20});
Note: See TracBrowser for help on using the repository browser.