Comment

Comment by whynotmaybe

Why a specific function ?

With a few lines of code, you can just create a list with all the numbers that are even and when you need to check if a number is odd, you simply have to check if it's in the list.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton