{"id":495391,"student_id":10,"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;\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-02-17T11:49:50.074+08:00","updated_at":"2023-02-17T11:49:50.074+08:00","name":"函式_4_料理之王 副本","language":"javascript","screenshot":{"url":null},"parent_id":495385,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":129,"hashid":"2pdsr4q59","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":11250747,"file_name":"earth.png","project_id":495391,"asset_id":604466,"created_at":"2023-02-17T11:49:50.079+08:00","updated_at":"2023-02-17T11:49:50.079+08:00"},{"id":11250748,"file_name":"space_bg.jpg","project_id":495391,"asset_id":604467,"created_at":"2023-02-17T11:49:50.080+08:00","updated_at":"2023-02-17T11:49:50.080+08:00"},{"id":11250749,"file_name":"koding.png","project_id":495391,"asset_id":604468,"created_at":"2023-02-17T11:49:50.081+08:00","updated_at":"2023-02-17T11:49:50.081+08:00"},{"id":11250750,"file_name":"Gymnopedie_No_1.mp3","project_id":495391,"asset_id":604469,"created_at":"2023-02-17T11:49:50.082+08:00","updated_at":"2023-02-17T11:49:50.082+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦