{"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":"/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":421,"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"}]
Orange Apple Learning Platform
My Projects
View Project Page
Export
Remix
Import
Delete
Download Android APP (APK)
Screenshot
繁中
简中
English
日本語
1:1:1
1:1
Full Width
Scan the QRCode below with your phone to install
Or you can
download APK
to this computer
Scan the QRCode below with your phone to install
Or you can
download APK
to this computer