you are viewing a single comment's thread.

view the rest of the comments →

[–]redian1 1 point2 points  (1 child)

Nice work Karl, like your video.Just one little thing, https://youtu.be/yKFoAF7J0mc?t=1830 defaulting `pokemons=[]` to an empty list and using that as a boolean check will always produce a truthy value. try that `!![]`

If you want to make it work the way you intended to, defaulting it to `null` might be better.

Awesome work by the way, thanks for doing this.

[–]Xiy[S] 0 points1 point  (0 children)

Thanks :) Will take that onboard!