I first learned the word from the Vermilion Flycatcher, which is a bright red bird
I first learned the word from the Vermilion Flycatcher, which is a bright red bird
I really enjoyed it up until the end, where I knew exactly what needed to happen, but I couldn’t figure out how to do it. When I finally looked it up, it was the most unintuitive solution that felt more like an easter egg than the intended path. I would have never finished it on my own, which left a bad taste in my mouth.
It’s because parseInt is expecting a string, so the decimal gets converted to a string, and
0.0000005.toString()
returns5e-7
.