Y
Hacker News
new
|
ask
|
show
|
jobs
by
ldesegur
3940 days ago
i/13|undefined works too
2 comments
logicallee
3940 days ago
plus
i/13|undefined
has that "this was originally written in javascript, not ported halfheartedly from some other language" feel. (Well, maybe PHP.)
link
ygra
3940 days 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.
link