JavaScript Pure Functions
Installation
SKILL.md
JavaScript Pure Functions
Purpose
Use this skill to review, refactor, or implement pure functions in JavaScript.
The goal is to isolate deterministic business logic from side effects, making the code easier to test, reuse, compose, and reason about.
A pure function returns the same output for the same input and does not mutate external state.
When to Use
Use this skill when the task involves: