clear-code/system-monitor — comment on commit d94b7888a82c8915270afd9b6b418db6fdb6882a
File: modules/clSystem.js line 97
By mooz:

The value of `this` is always `[object Global]`. We should pass `methods` to the 1st argument of `method.apply()`.

One possible solution is extend arguments of `curtailFunctionCall(method, leastInterval)` to `curtailFunctionCall(method, leastInterval, thisValue)` and pass `methods` as the value of `thisValue` in `addAPI`.