Sha256: 17de94b4f2f1bcc051e6f084be289da0951fa4fb7722a443cd09d19f3252c862

Contents?: true

Size: 341 Bytes

Versions: 46

Compression:

Stored size: 341 Bytes

Contents

"use strict";

module.exports = function (t, a) {
	var x = {}, y = {}
	  , o = { foo: "bar", raz: x, trzy: "cztery", five: "6" };

	a(t(o, "bar"), "foo", "First property");
	a(t(o, 6), null, "Primitive that's not there");
	a(t(o, x), "raz", "Object");
	a(t(o, y), null, "Object that's not there");
	a(t(o, "6"), "five", "Last property");
};

Version data entries

46 entries across 46 versions & 3 rubygems

Version Path
govuk_publishing_components-16.19.0 node_modules/es5-ext/test/object/key-of.js
govuk_publishing_components-16.18.0 node_modules/es5-ext/test/object/key-of.js
govuk_publishing_components-16.17.0 node_modules/es5-ext/test/object/key-of.js
optimacms-0.4.3 spec/dummy/node_modules/es5-ext/test/object/key-of.js
optimacms-0.4.2 spec/dummy/node_modules/es5-ext/test/object/key-of.js
cortex-0.1.3 spec/dummy/node_modules/es5-ext/test/object/key-of.js