Files
2025-08-24 00:24:11 +00:00

25 lines
1.4 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!--
CO_OP_TRANSLATOR_METADATA:
{
"original_hash": "8973f96157680a13e9446e4bb540ee57",
"translation_date": "2025-08-23T22:42:50+00:00",
"source_file": "2-js-basics/2-functions-methods/assignment.md",
"language_code": "tw"
}
-->
# 玩轉函式
## 說明
創建不同的函式,包括會返回值的函式和不會返回值的函式。
試著創建一個同時包含普通參數和帶有預設值參數的函式。
## 評分標準
| 評分標準 | 優秀 | 合格 | 需要改進 |
| -------- | ---------------------------------------------------------------------------------------- | ------------------------------------------------------------ | ---------------- |
| | 提供的解決方案包含兩個或以上運行良好的函式,且參數多樣化 | 提供的解決方案包含一個函式,且參數較少 | 解決方案有錯誤 |
**免責聲明**
本文件使用 AI 翻譯服務 [Co-op Translator](https://github.com/Azure/co-op-translator) 進行翻譯。我們致力於提供準確的翻譯,但請注意,自動翻譯可能包含錯誤或不準確之處。應以原始語言的文件作為權威來源。對於關鍵資訊,建議尋求專業人工翻譯。我們對因使用此翻譯而引起的任何誤解或誤讀概不負責。