Comment

Comment by crimsonalucard

Objects and functions are different. An object retains state, a function should be stateless. Objects cannot be evaluated and do not have return values.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton