Comment Comment by vaylian I understand that JavaScript needs to maintain backwards compatibility, but the syntax[Symbol.dispose]()is very weird in my eyes. This looks like an array which is called like a function and the array contains a method-handle.What is this syntax called? I would like to learn more about it. parent vaylian 1 year ago
[Symbol.dispose]()
is very weird in my eyes. This looks like an array which is called like a function and the array contains a method-handle.
What is this syntax called? I would like to learn more about it.