Comment

Comment by nmilo

If your assert compiles down to `if (condition) {}` in production then the compiler will optimize away the condition while keeping any side effects.
parent nmilo 7 months ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton