2 ms·
I wrote one of these a few years back: https://stackoverflow.com/questions/18947892/creating-range-in-javascript-strange-syntax https://stackoverflow.com/questi
by inglor 9y ago
I wrote one of these a few years back: https://stackoverflow.com/questions/18947892/creating-range-in-javascript-strange-syntax https://stackoverflow.com/questions/18947892/creating-range-... - honestly I hate this sort of cleverness in real code but it makes for interesting puzzles.
(As long as no one actually asks these questions in interviews)
- bonzini 9y agoIs it at least faster than the anonymous function?