Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const pokemonList = ['Pikachu', 'Charizard', 'Squirtle', 'Yoshi', 'Snorlax'];
- for(let poke of pokemonList){
- if(!(poke == 'Yoshi')){
- console.log(`You caught a ${poke}!`);
- } else {
- continue;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment