上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 38 下一页
摘要: let init = ["a","b","c"]; let arr = init.slice(0);//正确的克隆方式,修改其中一个另一个不会改 arr[arr.length] = 0; let arr2 = init ; //不可以直接=,这样其实用的是同一个数组,用同个引用地址,修改其中一个另一 阅读全文
posted @ 2021-09-06 15:27 流星曳尾 阅读(91) 评论(0) 推荐(0)
摘要: c插件-》plugin-》json viewer 阅读全文
posted @ 2021-08-25 15:07 流星曳尾 阅读(477) 评论(0) 推荐(0)
摘要: import Clipboard = flash.desktop.Clipboard; import ClipboardFormats = flash.desktop.ClipboardFormats; Clipboard.generalClipboard.setData(ClipboardForm 阅读全文
posted @ 2021-08-03 14:07 流星曳尾 阅读(99) 评论(0) 推荐(0)
摘要: 不加或者用undefined add(3); add(3,undefined,2); add(a = 1,b = 2, c=3) { ... } 阅读全文
posted @ 2021-08-02 11:47 流星曳尾 阅读(70) 评论(0) 推荐(0)
摘要: 可以先获取最新版本,然后混合合并到最近的版本,然后混合合并到最新版本,然后强行合并到最新版本,然后把不在版本内的删掉 阅读全文
posted @ 2021-06-28 17:59 流星曳尾 阅读(550) 评论(0) 推荐(0)
摘要: for(let i=0;i<arr.length;i++){console.log(arr[i].x)} 阅读全文
posted @ 2021-06-23 15:17 流星曳尾 阅读(170) 评论(0) 推荐(0)
摘要: 要用[]把ta包起来。 比如:let data = { [a] : true } ; 阅读全文
posted @ 2021-06-22 16:30 流星曳尾 阅读(102) 评论(0) 推荐(0)
摘要: component.includeInLayout = false; 阅读全文
posted @ 2021-06-17 17:21 流星曳尾 阅读(45) 评论(0) 推荐(0)
摘要: shift + alt + a 阅读全文
posted @ 2021-06-16 15:16 流星曳尾 阅读(605) 评论(0) 推荐(0)
摘要: 事件监听的回调里用bind 阅读全文
posted @ 2021-06-12 15:16 流星曳尾 阅读(33) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 38 下一页