{"id":526438,"student_id":1443,"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 += 1) {\n if (stars[i] == 5) {\n count += 1;\n }\n}\n\nconsole.log(count);","created_at":"2023-04-29T23:22:19.435+08:00","updated_at":"2023-04-29T23:26:30.343+08:00","name":"迴圈與陣列3 副本","language":"javascript","screenshot":{"url":"https://cdn4.koding.school/uploads/project/screenshot/526438/d7f72eb85f77b49e3fb4f79f33aa33bb.jpg"},"parent_id":481920,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":68,"hashid":"882s4kpr3","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":11991521,"file_name":"earth.png","project_id":526438,"asset_id":302338,"created_at":"2023-04-29T23:22:19.440+08:00","updated_at":"2023-04-29T23:22:19.440+08:00"},{"id":11991522,"file_name":"space_bg.jpg","project_id":526438,"asset_id":302339,"created_at":"2023-04-29T23:22:19.441+08:00","updated_at":"2023-04-29T23:22:19.441+08:00"},{"id":11991523,"file_name":"koding.png","project_id":526438,"asset_id":302340,"created_at":"2023-04-29T23:22:19.442+08:00","updated_at":"2023-04-29T23:22:19.442+08:00"},{"id":11991524,"file_name":"Gymnopedie_No_1.mp3","project_id":526438,"asset_id":302341,"created_at":"2023-04-29T23:22:19.443+08:00","updated_at":"2023-04-29T23:22:19.443+08:00"}]
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
繁中
简中
English
日本語
1:1:1
1:1
全寬
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦