10 2024 档案

摘要:function deepClone(param) { if(typeof param =='object' || param !==null){ return param; } let result; if(param instanceof Array){ return [] }else { re 阅读全文
posted @ 2024-10-28 17:10 木木的奇奇 阅读(4) 评论(0) 推荐(0) 编辑
摘要:let array = [1,4,3,43,123,4334,1213] function bubbleSort(arr) { // 外围来确定整个循环的次数,使得下一轮不会重复对比最后一个元素,因为每一轮下来最后一个元素都是最大的数 for (let i = 0; i < arr.length; 阅读全文
posted @ 2024-10-24 21:03 木木的奇奇 阅读(3) 评论(0) 推荐(0) 编辑
摘要:1字节(Byte)=8位(bit) 创建对象? struct People { string name; uint age; } People public person = People({name:'ljq',age:12}); 创建数组?查询mapping映射? contract Simple 阅读全文
posted @ 2024-10-04 23:09 木木的奇奇 阅读(4) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示