问项目 组件封装有哪些原则? 虚拟 DOM 的原理 */ // setTimeout异步 // 当同步任务执行完毕,将task队列取出异步任务放入执行栈 // Last - Modified 表示本地文件最后修改日期 // etag类似文件指纹,值通常是使用内容的哈希值或最后修改时间戳的哈希值 const name = 'window' const test = { name: 'bill', show1: function () { console.log(this.name)//bill }, show2: () => { console.log(this.name) //undef...