{"id":140551,"student_id":10,"content":"var arr = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];\n\nshuffle(arr); // 將資料隨機打亂\n\n\n// 由低到高排序\nfunction compare_asc (a, b) {\n \n}\n\n// 由高到低排序\nfunction compare_desc (a, b) {\n \n}\n\n\n\n","created_at":"2020-04-13T18:09:31.054+08:00","updated_at":"2020-04-13T18:14:21.111+08:00","name":"內建排序練習(1)預設版","language":"javascript","screenshot":{"url":"https://cdn4.koding.school/uploads/project/screenshot/140551/fd1ac05835b665cf0d7e3c5532c7c2d7.jpg"},"parent_id":2,"plugin":"function shuffle (arr) {\n for (var i=0; i\u003c1000; i++) {\n var rand1 = Math.floor(Math.random()*arr.length);\n var rand2 = Math.floor(Math.random()*arr.length);\n var tmp1 = arr[rand1];\n var tmp2 = arr[rand2];\n arr[rand1] = tmp2;\n arr[rand2] = tmp1;\n }\n return arr;\n}","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":231,"hashid":"vngsmrqe","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":2425448,"file_name":"Gymnopedie_No_1.mp3","project_id":140551,"asset_id":182919,"created_at":"2020-04-13T18:09:31.059+08:00","updated_at":"2020-04-13T18:09:31.059+08:00"},{"id":2425449,"file_name":"koding.png","project_id":140551,"asset_id":182918,"created_at":"2020-04-13T18:09:31.061+08:00","updated_at":"2020-04-13T18:09:31.061+08:00"},{"id":2425450,"file_name":"space_bg.jpg","project_id":140551,"asset_id":182917,"created_at":"2020-04-13T18:09:31.062+08:00","updated_at":"2020-04-13T18:09:31.062+08:00"},{"id":2425451,"file_name":"earth.png","project_id":140551,"asset_id":182916,"created_at":"2020-04-13T18:09:31.062+08:00","updated_at":"2020-04-13T18:09:31.062+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦