sonarqube - 使用 rest 语法在 Dojo 中声明此函数的参数
问题描述
SonarQube 报告建议使用其余语法来声明此函数的参数
this.inherited(参数);
根据这个建议,我尝试如下更改代码,但这似乎不起作用。控制台上的错误“declare.js:99 Uncaught TypeError: Cannot read property 'nom' of undefined”
this.inherited(...arguments);
请建议我如何解决 SonarQube 中的问题
解决方案
推荐阅读
- node.js - 为什么我的 React.js 和 Node.js 应用程序有时会返回“404 not found”,但大多数时候它都可以工作?
- ruby - 来自 DB 的字符串为 \\xC3\\xB6 但我需要实际字符“ö”才能写入 CSV
- java - 验证..让我发疯
- android - 如何从 onResume 调用 onMapReady()
- java - 无法流式传输 JSON 数组
- google-cloud-platform - Cloud Build GitHub App 只绑定一个 GCP 项目?
- python-3.x - 为 python 3 安装 VTK
- joomla - 对 Joomla 实时站点的更改
- ios - iOS Swift Core Data 如何从 NSFetchedResultsController 中搜索 FetchedObjects
- javascript - 将数据加载到输入字段:JQuery