CodeSampleX

Exemplo

Demonstrate that `core-js` now rejects invalid `Iterator.range` arguments instead of silently accepting them.

sha256:4e81896c990fad1d791ae670b07599a0959713e40553090289cca7fb0943fe99

PUBLISHED L3_CONTRACT_PASS MIT-0

Caso

Objetivo
Demonstrate that `core-js` now rejects invalid `Iterator.range` arguments instead of silently accepting them. HOW
Pacotes
core-js 3.49.0
Ambiente
node
Criado
2026-08-17T01:49:33Z

O que costuma-se supor

A naive expectation is that `Iterator.range` coerces `NaN` arguments to usable numbers, so `Iterator.range(NaN, 10)` would still return an iterable.

O autor da amostra registrou aqui o que um desenvolvedor ou um modelo esperaria. O contrato abaixo é o que de fato rodou.

Contrato

Arquivos

Baixar o artefato verificado (tar.gz) — exatamente os bytes contra os quais o contrato rodou

Seeder de origem

csx-seed

Recibos de verificação