Andarist / Andarist/babel-plugin-annotate-pure-calls
Consider adding always effectful built-ins + configuration for them
未关闭
enhancement
- 主要语言
- JavaScript
- 星标
- 95
- 派生
- 9
- PR 合并指标
- 30 天内没有已合并 PR
描述
**Input code**
```js
var unusedTimerId = setInterval(function () {
pingAPI()
})
```
Even though `setInterval` is used in assignment context and its result remain unused, its probably not desired to annotate (and therefore drop during minification) it.
Same applies for other timers and possibly some other built-ins.
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。