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
optimacms-0.1.61 spec/dummy/node_modules/es5-ext/test/array/#/e-index-of.js
govuk_publishing_components-18.0.0 node_modules/es5-ext/test/array/#/e-index-of.js
govuk_publishing_components-17.21.0 node_modules/es5-ext/test/array/#/e-index-of.js
govuk_publishing_components-17.20.0 node_modules/es5-ext/test/array/#/e-index-of.js
govuk_publishing_components-17.19.1 node_modules/es5-ext/test/array/#/e-index-of.js
govuk_publishing_components-17.19.0 node_modules/es5-ext/test/array/#/e-index-of.js
govuk_publishing_components-17.18.0 node_modules/es5-ext/test/array/#/e-index-of.js
govuk_publishing_components-17.17.0 node_modules/es5-ext/test/array/#/e-index-of.js
govuk_publishing_components-17.16.0 node_modules/es5-ext/test/array/#/e-index-of.js
govuk_publishing_components-17.15.0 node_modules/es5-ext/test/array/#/e-index-of.js
govuk_publishing_components-17.14.0 node_modules/es5-ext/test/array/#/e-index-of.js
govuk_publishing_components-17.13.0 node_modules/es5-ext/test/array/#/e-index-of.js
govuk_publishing_components-17.12.2 node_modules/es5-ext/test/array/#/e-index-of.js
govuk_publishing_components-17.12.1 node_modules/es5-ext/test/array/#/e-index-of.js
govuk_publishing_components-17.12.0 node_modules/es5-ext/test/array/#/e-index-of.js
govuk_publishing_components-17.11.0 node_modules/es5-ext/test/array/#/e-index-of.js
govuk_publishing_components-17.10.0 node_modules/es5-ext/test/array/#/e-index-of.js
govuk_publishing_components-17.9.0 node_modules/es5-ext/test/array/#/e-index-of.js
govuk_publishing_components-17.8.0 node_modules/es5-ext/test/array/#/e-index-of.js
govuk_publishing_components-17.7.0 node_modules/es5-ext/test/array/#/e-index-of.js