mirror of
https://github.com/luongnv89/claude-howto.git
synced 2026-04-21 21:45:58 +02:00
89e89d4aa3
Add Chinese (Simplified) translations for all documentation, organized under a dedicated zh/ directory that mirrors the English folder structure. Co-authored-by: tanqingkuang <tanqingkuang@users.noreply.github.com> Translations originally contributed by @tanqingkuang in #45. Restructured from *-CN.md suffix pattern into zh/ directory to prevent the EPUB builder (scripts/build_epub.py collect_folder_files) from picking up Chinese files via glob("*.md") inside module folders.
849 B
849 B
函数:functionName
描述
简要说明这个函数的作用。
签名
function functionName(param1: Type1, param2: Type2): ReturnType
参数
| 参数 | 类型 | 必填 | 描述 |
|---|---|---|---|
| param1 | Type1 | 是 | param1 的说明 |
| param2 | Type2 | 否 | param2 的说明 |
返回值
类型:ReturnType
返回内容的说明。
抛出异常
Error:在输入无效时抛出TypeError:在传入错误类型时抛出
示例
基本用法
const result = functionName('value1', 'value2');
console.log(result);
高级用法
const result = functionName(
complexParam1,
{ option: true }
);
备注
- 其他说明或警告
- 性能注意事项
- 最佳实践