{"id":547324,"student_id":1444,"content":"function strip (food) {\n return food + '條';\n}\n\nfunction slice (food) {\n return food + '片';\n}\n\nfunction mash (food) {\n return food + '泥';\n}\n\nfunction squeeze (food) {\n return fruit + '汁';\n}\n\nfunction soup (food) {\n return food + '濃湯';\n}\n\nfunction sauce (food) {\n return food + '醬';\n}\n\nfunction cook (food) {\n return '煮' + food;\n}\n\nfunction bake (food) {\n return '烤' + food;\n}\n\nfunction fry (food) {\n return '炸' + food;\n}\n\nfunction stew (food) {\n return '燉' + food;\n}\n\nfunction add (food1, food2) {\n return food1 + '佐' + food2;\n}\n\n// 挑戰1\n// 菜色:烤雞\n// 食材:雞\nlet a = bake('雞');\nconsole.log(a);\n\n// 挑戰2\n// 菜色:飯佐咖哩\n// 食材:飯、咖哩\nlet b = add('飯', '咖哩');\nconsole.log(b);\n\n// 挑戰3\n// 菜色:烤雞佐生菜\n// 食材:雞、生菜\nlet c = add(bake('雞'), '生菜');\nconsole.log(c);\n\n// 挑戰4\n// 菜色:生鮭魚片佐白飯\n// 食材:生鮭魚、白飯\nlet d = add(slice('生鮭魚'),'白飯');\nconsole.log(d);\n\n// 挑戰5\n// 菜色:炸馬鈴薯條\n// 食材:馬鈴薯\nlet e;\nconsole.log(e);\n\n// 挑戰6\n// 菜色:燉牛肉佐麵\n// 食材:牛肉、麵\nlet f;\nconsole.log(f);\n\n// 挑戰7\n// 菜色:炸雞佐九層塔\n// 食材:雞、九層塔\nlet g;\nconsole.log(g);\n\n// 挑戰8\n// 菜色:炸蝦佐蘿蔔泥\n// 食材:蝦、蘿蔔\nlet h;\nconsole.log(h);\n\n\n\n","created_at":"2023-06-05T19:50:55.498+08:00","updated_at":"2023-06-05T19:55:08.682+08:00","name":"函式_4_料理之王 副本","language":"javascript","screenshot":{"url":"https://cdn4.koding.school/uploads/project/screenshot/547324/8149091d3e9d6d67e7873b1be8a1f9c1.jpg"},"parent_id":495385,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":48,"hashid":"882s4p44q","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":12488808,"file_name":"earth.png","project_id":547324,"asset_id":604466,"created_at":"2023-06-05T19:50:55.505+08:00","updated_at":"2023-06-05T19:50:55.505+08:00"},{"id":12488809,"file_name":"space_bg.jpg","project_id":547324,"asset_id":604467,"created_at":"2023-06-05T19:50:55.508+08:00","updated_at":"2023-06-05T19:50:55.508+08:00"},{"id":12488810,"file_name":"koding.png","project_id":547324,"asset_id":604468,"created_at":"2023-06-05T19:50:55.510+08:00","updated_at":"2023-06-05T19:50:55.510+08:00"},{"id":12488811,"file_name":"Gymnopedie_No_1.mp3","project_id":547324,"asset_id":604469,"created_at":"2023-06-05T19:50:55.512+08:00","updated_at":"2023-06-05T19:50:55.512+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦