Sha256: 4eb824ed11b6e1a5edcdf6341616aafae6326cb27bf34481845680ee2ba055ca

Contents?: true

Size: 406 Bytes

Versions: 39

Compression:

Stored size: 406 Bytes

Contents

'use strict';

var WeakMapPoly = require('../polyfill');

module.exports = function (t, a) {
	a(t(undefined), false, "Undefined");
	a(t(null), false, "Null");
	a(t(true), false, "Primitive");
	a(t('raz'), false, "String");
	a(t({}), false, "Object");
	a(t([]), false, "Array");
	if (typeof WeakMap !== 'undefined') {
		a(t(new WeakMap()), true, "Native");
	}
	a(t(new WeakMapPoly()), true, "Polyfill");
};

Version data entries

39 entries across 32 versions & 8 rubygems

Version Path
govuk_publishing_components-16.29.0 node_modules/es6-weak-map/test/is-weak-map.js
govuk_publishing_components-16.28.0 node_modules/es6-weak-map/test/is-weak-map.js
govuk_publishing_components-16.27.1 node_modules/es6-weak-map/test/is-weak-map.js
govuk_publishing_components-16.27.0 node_modules/es6-weak-map/test/is-weak-map.js
govuk_publishing_components-16.26.0 node_modules/es6-weak-map/test/is-weak-map.js
govuk_publishing_components-16.25.0 node_modules/es6-weak-map/test/is-weak-map.js
govuk_publishing_components-16.24.0 node_modules/es6-weak-map/test/is-weak-map.js
govuk_publishing_components-16.23.0 node_modules/es6-weak-map/test/is-weak-map.js
govuk_publishing_components-16.22.0 node_modules/es6-weak-map/test/is-weak-map.js
govuk_publishing_components-16.21.0 node_modules/es6-weak-map/test/is-weak-map.js
govuk_publishing_components-16.20.1 node_modules/es6-weak-map/test/is-weak-map.js
govuk_publishing_components-16.20.0 node_modules/es6-weak-map/test/is-weak-map.js
govuk_publishing_components-16.19.0 node_modules/es6-weak-map/test/is-weak-map.js
govuk_publishing_components-16.18.0 node_modules/es6-weak-map/test/is-weak-map.js
govuk_publishing_components-16.17.0 node_modules/es6-weak-map/test/is-weak-map.js
optimacms-0.4.3 spec/dummy/node_modules/es6-weak-map/test/is-weak-map.js
optimacms-0.4.2 spec/dummy/node_modules/es6-weak-map/test/is-weak-map.js
cortex-0.1.3 spec/dummy/node_modules/es6-weak-map/test/is-weak-map.js
guard-sass-lint-0.1.2 node_modules/es6-weak-map/test/is-weak-map.js
guard-sass-lint-0.1.1 node_modules/es6-weak-map/test/is-weak-map.js