{"id":434983,"student_id":10,"content":"let stars = [4, 5, 3, 2, 4, 4, 5, 2, 3, 4, 4, 5, 3, 2, 4, 4, 5, 2, 3, 4, 4, 5, 3, 2, 4, 4, 5, 2, 3, 4, 4, 5, 3, 2, 4, 4, 5, 2, 3, 4, 4, 5, 3, 2, 4, 4, 5, 2, 3, 4, 4, 5, 3, 2, 4, 4, 5, 2, 3, 4, 4, 5, 3, 2, 4, 4, 5, 2, 3, 4, 4, 5, 3, 2, 4, 4, 5, 2, 3, 4, 4, 5, 3, 2, 4, 4, 5, 2, 3, 4, 4, 5, 3, 2, 4, 4, 5, 2, 3, 4];\nlet count = 0;\nfor (let i = 0; i \u003c stars.length; i++) {\n if (stars[i] == 5) {\n count += 1;\n }\n}\nconsole.log(count);","created_at":"2022-09-15T17:16:20.396+08:00","updated_at":"2022-09-15T19:06:55.648+08:00","name":"迴圈與陣列","language":"javascript","screenshot":{"url":"https://cdn5.koding.school/uploads/project/screenshot/434983/476a778af625da71f5d1c0d33cee604c.jpg"},"parent_id":2,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":129,"hashid":"5j3s38g5e","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":9785870,"file_name":"earth.png","project_id":434983,"asset_id":302338,"created_at":"2022-09-15T17:16:20.401+08:00","updated_at":"2022-09-15T17:16:20.401+08:00"},{"id":9785871,"file_name":"space_bg.jpg","project_id":434983,"asset_id":302339,"created_at":"2022-09-15T17:16:20.402+08:00","updated_at":"2022-09-15T17:16:20.402+08:00"},{"id":9785872,"file_name":"koding.png","project_id":434983,"asset_id":302340,"created_at":"2022-09-15T17:16:20.403+08:00","updated_at":"2022-09-15T17:16:20.403+08:00"},{"id":9785873,"file_name":"Gymnopedie_No_1.mp3","project_id":434983,"asset_id":302341,"created_at":"2022-09-15T17:16:20.404+08:00","updated_at":"2022-09-15T17:16:20.404+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦