学习WebGL时才意识到的,代码如下:
function a() { let first = 1; let second = 2; let b = function () { c(first, second); } } function c(first, second) { console.log(first, second); }