|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
547 bytes
|
| Line | |
|---|
| 1 | 'use strict';
|
|---|
| 2 | var $ = require('../internals/export');
|
|---|
| 3 | var union = require('../internals/set-union');
|
|---|
| 4 | var setMethodGetKeysBeforeCloning = require('../internals/set-method-get-keys-before-cloning-detection');
|
|---|
| 5 | var setMethodAcceptSetLike = require('../internals/set-method-accept-set-like');
|
|---|
| 6 |
|
|---|
| 7 | var FORCED = !setMethodAcceptSetLike('union') || !setMethodGetKeysBeforeCloning('union');
|
|---|
| 8 |
|
|---|
| 9 | // `Set.prototype.union` method
|
|---|
| 10 | // https://tc39.es/ecma262/#sec-set.prototype.union
|
|---|
| 11 | $({ target: 'Set', proto: true, real: true, forced: FORCED }, {
|
|---|
| 12 | union: union
|
|---|
| 13 | });
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.