{"id":507111,"student_id":1444,"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":"2023-03-13T21:40:00.828+08:00","updated_at":"2023-05-08T19:53:37.923+08:00","name":"迴圈與陣列3 副本","language":"javascript","screenshot":{"url":"https://cdn9.koding.school/uploads/project/screenshot/507111/d7f72eb85f77b49e3fb4f79f33aa33bb.jpg"},"parent_id":481920,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":45,"hashid":"4y3sze84k","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":11531926,"file_name":"earth.png","project_id":507111,"asset_id":302338,"created_at":"2023-03-13T21:40:00.834+08:00","updated_at":"2023-03-13T21:40:00.834+08:00"},{"id":11531927,"file_name":"space_bg.jpg","project_id":507111,"asset_id":302339,"created_at":"2023-03-13T21:40:00.836+08:00","updated_at":"2023-03-13T21:40:00.836+08:00"},{"id":11531928,"file_name":"koding.png","project_id":507111,"asset_id":302340,"created_at":"2023-03-13T21:40:00.837+08:00","updated_at":"2023-03-13T21:40:00.837+08:00"},{"id":11531929,"file_name":"Gymnopedie_No_1.mp3","project_id":507111,"asset_id":302341,"created_at":"2023-03-13T21:40:00.838+08:00","updated_at":"2023-03-13T21:40:00.838+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦