3 ms·
I was thinking something like Number.prototype.toString = () => ''; let a = ''; Although I always forget which side gets coerced (this would assume t
by rmrfrmrf 9y ago
I was thinking something like
Number.prototype.toString = () => '';
let a = '';
Although I always forget which side gets coerced (this would assume the right-hand side does). I like the side-effect approach, though — seems more nuanced and probably what they were looking for.