DEV Community

loading...

Discussion on: Function Composition Explained Using Pokémon Evolution

Collapse
cat profile image
Cat Author

True. I wanted to use the switch function, but since my friend was a complete newbie and was already inundated with all the info, I stuck with what she knew: if/else. lol