3 ms·
Putting aside whether this sort of thing is clever and clean or occult and confusing, another pattern of the same ilk is: ~~(i/13)
by redler 11y ago
Putting aside whether this sort of thing is clever and clean or occult and confusing, another pattern of the same ilk is:
~~(i/13)
- tracker1 11y agofor me I see `~~` and I think coerce to integer value (the result will be an integer regardless of i's value, 0 if it fails a clean coercion) Similar to seeing `!!` and thinking true/false coercion.