ประโยคภาษาจีน : 中文句子 |
---|
zhè zhǒng 这种 qíng kuàng xià 情况下 fǎn huí 返回 de 的 hán shù 函数 duì xiàng 对象 jiù shì 就是 yí gè 一个 bì bāo 闭包 qí zhōng 其中 fēng zhuāng 封装 le 了 yì xiē 一些 rì zhì 日志 dài mǎ 代码 hè 和 zuì chū 最初 de 的 hán shù 函数 diào yòng 调用 suǒ 所 xū yào 需要 de 的 shù jù 数据 |
In this case the returned function object is a closure which encapsulates some logging code and the data needed to call the original function. |