DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 968,547 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in

Discussion on: Promise.race vs. Promise.any And Promise.all vs. Promise.allSettled

Collapse
 
wormss profile image
WORMSS

So, what is the purpose of extractApples method? It seem to be be defined, but never used?

Collapse
 
dance2die profile image
Sung M. Kim Author

Thank you @wormss for catching the vestigial code and I apologize for getting back late.

I removed extractApples from the code snippet as it's "never used" :)