Comment

Comment by Cyph0n

Sorry, but can someone explain the usecase for callAsFunction?

I have seen something similar before in Python where a class implements __call__, but I have never needed to use it.

parent Cyph0n 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton