The following files all contain material used for conversion. I was bored so I wrote this tiny program as a way to warm up before working on some PHP and Laravel stuff.
I used NodeJS. The code is provided below.
If you want the output, scroll to the last file at the bottom.
Tested on NodeJS 13.9.0!
Thanks for reading! :)
Feel bored? Optimize my code! :)
Twitter: @IngwiePhoenix
@andersevenrud Thank you man! That is some freaking awesome way of doing this. I totally forgot about
.map
and.filter
on strings. Man, I learned a lot there!