1 | ;
|
2 |
|
3 | var SetPoly = require('../polyfill');
|
4 |
|
5 | module.exports = function (t, a) {
|
6 | a(t(undefined), false, "Undefined");
|
7 | a(t(null), false, "Null");
|
8 | a(t(true), false, "Primitive");
|
9 | a(t('raz'), false, "String");
|
10 | a(t({}), false, "Object");
|
11 | a(t([]), false, "Array");
|
12 | if (typeof Set !== 'undefined') {
|
13 | a(t(new Set()), true, "Native");
|
14 | }
|
15 | a(t(new SetPoly()), true, "Polyfill");
|
16 | };
|