Sequelize 文档中的这些 hash/pound 符号代表什么?

What do these hash/pound symbols in the Sequelize docs represent?

我的团队正在调查 javascript ORM 框架以用于即将开展的项目,但我无法弄清楚这些 # 符号在 Sequelize 文档中到底是什么意思,但我知道这是无效的JS.

这是取自 docs here 的示例:

// this will add the attribute DadId to Person
Person.hasOne(Person, {as: 'Father', foreignKey: 'DadId'})

// In both cases you will be able to do:
Person#setFather
Person#getFather

我可能遗漏了他们文档中的某些内容,但我找不到任何有帮助的参考资料。

这是记录 class 方法的常用方法。

在这种情况下,文档是这样说的:

The Person class has an instance method named setFather
The Person class has an instance method named getFather

这在 Ruby 中是惯用的,我个人从未见过它用于 JS