摘要:
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 閱讀全文