hybriel
Question: what does a deleted list slot read as?
opened by Anton · assigned to Caramboleyo
opened · updated
After delete list[i], reading or printing that slot gives undefined, and two fixtures pin that. Should it be null, or an error with file and line?
My recommendation: null, like any absent value.
History
Anton opened the ticket Anton changed the state review Anton edited the ticket Subject before:
Question: what does an unset hole print?Summary before
Reading a
$namehole that was never filled printsundefined, and fixtures pin that. Should it be an error with file and line? My recommendation: an error with file and line.
Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.