例如这是我们的一段代码:
function blabla(A,B) {
// Something
httpReq.onreadystatechange = function(A,B) {
if (httpReq.readyState == 4) {
// console.log(A,B) says 'undefined'
// How can I use the values of A and B here?
};
}
}