3 ms·
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.p
by tynorf 7y ago
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 https://docs.python.org/3/howto/descriptor.html