mirror of
https://github.com/luongnv89/claude-howto.git
synced 2026-07-11 23:26:32 +02:00
1a567be793
- Copy code/image/config files across all modules - Translate brand-voice and code-review templates - Translate CONTRIBUTING, CODE_OF_CONDUCT, SECURITY, STYLE_GUIDE - Copy CHANGELOG as-is (technical log) Ref: luongnv89/claude-howto#63
925 B
925 B
Function: functionName
Description
Brief description of what the function does.
Signature
function functionName(param1: Type1, param2: Type2): ReturnType
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| param1 | Type1 | Yes | Description of param1 |
| param2 | Type2 | No | Description of param2 |
Returns
Type: ReturnType
Description of what is returned.
Throws
Error: When invalid input is providedTypeError: When wrong type is passed
Examples
Basic Usage
const result = functionName('value1', 'value2');
console.log(result);
Advanced Usage
const result = functionName(
complexParam1,
{ option: true }
);
Notes
- Additional notes or warnings
- Performance considerations
- Best practices