摘要: how to encapsulate second time of ui components For example we have follow code, with one UI component MyInput // App.vue <template> <div> <MyInput></ 阅读全文
posted @ 2024-10-06 01:06 Zhentiw 阅读(7) 评论(0) 推荐(0) 编辑
摘要: Eliminate the ambiguity of the function What ambiguity means? Normally a function can do two things 1. Instruction sequence 2. Contruction function a( 阅读全文
posted @ 2024-10-06 00:35 Zhentiw 阅读(4) 评论(0) 推荐(0) 编辑
摘要: async function asy1() { console.log(1) await asy2() console.log(2) } asy2 = async () => { // First set // await setTimeout((_) => { // Promise.resolve 阅读全文
posted @ 2024-10-06 00:17 Zhentiw 阅读(3) 评论(0) 推荐(0) 编辑