CPS把函数调用完之后接下来要执行的代码通过闭包包裹并作为函数参数调用要执行的函数。 这几篇文章写的很好: Continuation Passing Style Revisited, Part One Continuation Passing Style Revisited Part Two: Handwaving about control flow Continuation Passing Style Revisited Part Three: Musings about coroutines