Javascript square brackets around method name

Cod*_*mpy 4 javascript ecmascript-6

In the RxJs doc I found following code snippet:

[rxSubscriberSymbol]() {
    return new SubjectSubscriber(this);
}
Run Code Online (Sandbox Code Playgroud)

Its part of the Subject source code and is the first method right after the constructor.

So what do square brackets mean in this context?

Dan*_*zer 5

这些是符号,与定义属性非常相似,但提供了不同的可访问性和可测试性功能,并且它们是完全独一无二的,

你可以在这里阅读更多关于元编程的信息, ES6 中的元编程:符号以及为什么它们很棒