ประโยคภาษาจีน : 中文句子 |
---|
yóu yú 由于 zài 在 yì bù 异步 hán shù 函数 zhōng 中 suǒ 所 shǐ yòng 使用 de 的 jú bù 局部 biàn liàng 变量 shí jì shàng 实际上 shì 是 mǒu gè 某个 nì míng 匿名 lèi 类 zhòng dì 中的 zì duàn 字段 yīn cǐ 因此 zài 在 diào yòng 调用 qī jiān 期间 tā men 它们 bì xū 必须 bèi 被 bǎo liú 保留 |
Since the “locals” used by an asynchronous functions are actually fields on an anonymous class, they must be retained for the duration of the call. |