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