DEV Community

loading...

Discussion on: Function Composition Explained Using Pokémon Evolution

Collapse
cat profile image
Cat Author

I was under the thought that I needed a “holder” for the prompt so we can pass that through the individual Pokémon function to get their evolution result.

Also, I wanted to help my friend meet assignment requirements, which asked for 2 arguments.

But, I should definitely try it out without the second parameter.