{"id":511951,"student_id":3760,"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];\n\nlet count = 0;\n\nfor (let i = 0; i \u003c stars.length; i++) {\n if (stars[i] == 5) {\n count += 1;\n \n }\n}\n\nconsole.log(count);","created_at":"2023-03-26T14:49:36.525+08:00","updated_at":"2024-05-08T15:24:51.305+08:00","name":"迴圈與陣列3 副本","language":"javascript","screenshot":{"url":"https://cdn3.koding.school/uploads/project/screenshot/511951/8149091d3e9d6d67e7873b1be8a1f9c1.jpg"},"parent_id":481920,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":79,"hashid":"kdmsjewke","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":11653198,"file_name":"earth.png","project_id":511951,"asset_id":302338,"created_at":"2023-03-26T14:49:36.532+08:00","updated_at":"2023-03-26T14:49:36.532+08:00"},{"id":11653199,"file_name":"space_bg.jpg","project_id":511951,"asset_id":302339,"created_at":"2023-03-26T14:49:36.534+08:00","updated_at":"2023-03-26T14:49:36.534+08:00"},{"id":11653200,"file_name":"koding.png","project_id":511951,"asset_id":302340,"created_at":"2023-03-26T14:49:36.535+08:00","updated_at":"2023-03-26T14:49:36.535+08:00"},{"id":11653201,"file_name":"Gymnopedie_No_1.mp3","project_id":511951,"asset_id":302341,"created_at":"2023-03-26T14:49:36.537+08:00","updated_at":"2023-03-26T14:49:36.537+08:00"}]
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
繁中
简中
English
日本語
1:1:1
1:1
全寬
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦