What’s the purpose of f ? You could just call parseFloat directly, right?

Absolutely. It looked too clumsy to me, so I created a function for it. But, it’s just a design choice. You can call parseFloat directly, as you said.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.