Sha256: c4e8cfea4bcd195dcc6308bfcf74cfd22207f4ac0d30a22e7d3600c343847609

Contents?: true

Size: 554 Bytes

Versions: 47

Compression:

Stored size: 554 Bytes

Contents

"use strict";

module.exports = function (t, a) {
	var x = {};
	a(t.call([3, "raz", {}, x, {}], x), 3, "Regular");
	a(t.call([3, "raz", NaN, {}, NaN], NaN), 2, "NaN");
	a(t.call([3, "raz", 0, {}, -0], -0), 2, "-0");
	a(t.call([3, "raz", -0, {}, 0], +0), 2, "+0");
	a(t.call([3, "raz", NaN, {}, NaN], NaN, 3), 4, "fromIndex");
	a(t.call([3, "raz", NaN, {}, NaN], NaN, -1), 4, "fromIndex negative #1");
	a(t.call([3, "raz", NaN, {}, NaN], NaN, -2), 4, "fromIndex negative #2");
	a(t.call([3, "raz", NaN, {}, NaN], NaN, -3), 2, "fromIndex negative #3");
};

Version data entries

47 entries across 47 versions & 3 rubygems

Version Path
govuk_publishing_components-16.20.0 node_modules/es5-ext/test/array/#/e-index-of.js
govuk_publishing_components-16.19.0 node_modules/es5-ext/test/array/#/e-index-of.js
govuk_publishing_components-16.18.0 node_modules/es5-ext/test/array/#/e-index-of.js
govuk_publishing_components-16.17.0 node_modules/es5-ext/test/array/#/e-index-of.js
optimacms-0.4.3 spec/dummy/node_modules/es5-ext/test/array/#/e-index-of.js
optimacms-0.4.2 spec/dummy/node_modules/es5-ext/test/array/#/e-index-of.js
cortex-0.1.3 spec/dummy/node_modules/es5-ext/test/array/#/e-index-of.js