Sha256: c73575df8cbe39492ae7f834c8ea89ce5092df24df0c1ac89cfc10df586f67c4

Contents?: true

Size: 409 Bytes

Versions: 47

Compression:

Stored size: 409 Bytes

Contents

"use strict";

module.exports = function () {
	var arr = ["foo", 1], iterator, result;
	if (typeof arr.values !== "function") return false;
	iterator = arr.values();
	if (!iterator) return false;
	if (typeof iterator.next !== "function") return false;
	result = iterator.next();
	if (!result) return false;
	if (result.value !== "foo") return false;
	if (result.done !== false) return false;
	return true;
};

Version data entries

47 entries across 47 versions & 3 rubygems

Version Path
govuk_publishing_components-16.20.0 node_modules/es5-ext/array/#/values/is-implemented.js
govuk_publishing_components-16.19.0 node_modules/es5-ext/array/#/values/is-implemented.js
govuk_publishing_components-16.18.0 node_modules/es5-ext/array/#/values/is-implemented.js
govuk_publishing_components-16.17.0 node_modules/es5-ext/array/#/values/is-implemented.js
optimacms-0.4.3 spec/dummy/node_modules/es5-ext/array/#/values/is-implemented.js
optimacms-0.4.2 spec/dummy/node_modules/es5-ext/array/#/values/is-implemented.js
cortex-0.1.3 spec/dummy/node_modules/es5-ext/array/#/values/is-implemented.js