Javascript 注释中的装饰符对代码有影响吗?

Javascript 注释中的装饰符对代码有影响吗?,javascript,decorator,Javascript,Decorator,我已经看到一些代码,其中装饰器在注释中,这些注释被突出显示-参见我的示例,所以我想知道这些代码行是否有任何影响。以下是一个例子: /** * Instanciate a new Payment. * @param payplugApi Object The PayplugAPI with sucessfull authentication * @param paymentTracker String A payment tracker (id) that will be send an

我已经看到一些代码,其中装饰器在注释中,这些注释被突出显示-参见我的示例,所以我想知道这些代码行是否有任何影响。以下是一个例子:

/**
 * Instanciate a new Payment.
 * @param payplugApi Object  The PayplugAPI with sucessfull authentication
 * @param paymentTracker String  A payment tracker (id) that will be send and received by PayPlug API to follow the payment. This tracked will be inserted in metadata
 * @param payment   Object  The payment options. More informations here : https://www.payplug.com/docs/api/apiref.html?powershell#create-a-payment
 * @return [nothing]
 * @see PayPlugAPI.authenticate The authentication method
 */
var Payment = function () {...}
它只是文档还是执行代码


任何提示都很好,谢谢

为了生成文档(以及IDE中的“悬停”-提示等),对它们进行分析。它们与装饰器没有关系。

提示:javascript运行时忽略注释,无论注释中包含什么