# Create Hello World Function (LeetCode 2667)
## Approach
Return constant function; classic JS warmup.
## Edge cases
When k exceeds array length.
## Practice tip
Narrate tradeoffs out loud before coding.
Interview prep: [AI tool for job interviews](https://www.linkjob.ai/interview-copilot/).