Why have you tagged this as javascript? Isn’t that rust?
Danielo Rodríguez
1

The code is in Ruby.

I think editors from freeCodeCamp added the tag. 😂

Thanks for letting me know, I will change it.

Like what you read? Give Sihui Huang a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.