Comment

Comment by SamReidHughes_

No, both of those are bad monkey-patching.

There is no reason for that function to be defined as a method in Array.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton