# 仿 Jira 企业级项目 **Repository Path**: ygunoil/typescript-jira ## Basic Information - **Project Name**: 仿 Jira 企业级项目 - **Description**: No description available - **Primary Language**: TypeScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 4 - **Created**: 2022-01-04 - **Last Updated**: 2022-01-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [React17+React Hook+TS4 最佳实践,仿 Jira 企业级项目](https://coding.imooc.com/class/482.html) ![同步与异步执行](https://gw.alicdn.com/imgextra/i1/O1CN01SmCOr120X0t7LsvyU_!!6000000006858-0-tps-625-411.jpg) ![执行结果](https://gw.alicdn.com/imgextra/i2/O1CN01lKcAfY29YgsU4Zu99_!!6000000008080-0-tps-349-259.jpg) ![解析](https://gw.alicdn.com/imgextra/i1/O1CN01jlV3Wl1baLNG8G9NC_!!6000000003481-0-tps-843-474.jpg) iterator ```js const obj = { data: ["hello", "world"], [Symbol.iterator]() { const self = this; let index = 0; return { next() { if (index < self.data.length) { return { value: self.data[index++], done: false }; } else { return { value: undefined, done: true }; } } }; } }; for (let i of obj) { console.log(i); } ```