使用 JavaScript 的 Apply
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/apply
const _this = this
function a(){
b.apply(_this, arguments);
}
function b(){
console.log(arguments); //arguments[0] = 1, etc
}
Refrance:
https://stackoverflow.com/a/3914600/6784662
https://realdennis.medium.com/javascript-%E8%81%8A%E8%81%8Acall-apply-bind%E7%9A%84%E5%B7%AE%E7%95%B0%E8%88%87%E7%9B%B8%E4%BC%BC%E4%B9%8B%E8%99%95-2f82a4b4dd66