3 var WeakMapPoly = require('../polyfill');
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 WeakMap !== 'undefined') {
13 a(t(new WeakMap()), true, "Native");
15 a(t(new WeakMapPoly()), true, "Polyfill");