Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

As far as I know, JS does not have the equivalent of Python's descriptor protocol[0]. This is notably different from setter/getter methods.

[0]: https://docs.python.org/3/howto/descriptor.html



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: