API 参考util 模块clear 擦除数据本页总览clear 擦除数据clear 类型: MethodDeclaration 所属类: CacheList 定义位置: util.ts 描述 擦除数据 返回值 类型: void 源代码 位置: 第 623 行 public clear(): void { let i = 0 while (this[i] !== undefined) { this[i++] = undefined } this.count = 0 } 文档生成时间:2025/7/7 12:07:07