Hacker News new | ask | show | jobs
by int_19h 752 days ago
Yes, you're right, `__index` does behave a lot like `__proto__`. I often forget that it is one of the few entries in the metatable that doesn't have to be a function.