Hacker News new | ask | show | jobs
by ldesegur 3940 days ago
i/13|undefined works too
2 comments

plus

  i/13|undefined  
has that "this was originally written in javascript, not ported halfheartedly from some other language" feel. (Well, maybe PHP.)
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.