Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ldesegur
· 11y ago · 0 comments
i/13|undefined works too
Comments
[–]
logicallee
11y ago
plus
i/13|undefined
has that "this was originally written in javascript, not ported halfheartedly from some other language" feel. (Well, maybe PHP.)
[–]
ygra
11y ago
That's just adding another conversion from undefined to Number to Int32 for the right operand. You could probably use false as well. Or the empty string.