v1
3/9/2022 by lmyers -00
Setup HTML - click to add setup HTML
disable setup JavaScript
Setup JavaScript
const values = [];

for (let i = 0; i < 10000; i++) {
	values.push({
		key: `Key ${i}`,
		value: i
	});
}

delete caserun single casemove downdrag and drop case


ready



new Map(values
	.filter((entry) => (entry.value % 2) == 0)
	.map((entry) => [entry.key, entry.value])
)

delete caserun single casemove updrag and drop case


ready



new Map(
	(function*() {
		for (const value of values) {
			if ((value % 2) == 0) {
				yield [entry.key, entry.value];
			}
		}
	})()
)

Test Case - click to add another test case
Teardown JS - click to add teardown JavaScript
Output (DOM) - click to monitor output (DOM) while test is running
RUN