You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Web-Dev-For-Beginners/translations/hk/2-js-basics/2-functions-methods/assignment.md

25 lines
1.5 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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