Comment

Comment by salehenrahman

It can potentially break things.

There are legacy code that assume that calling `readdir` will yield undefined, and will have just passed that result to a function, that alters its behaviour based on whether a parameter is undefined.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton