← Back to portfolio
Factorial Feature

Overview

Small JavaScript exercise focused on implementing factorial logic and validating behavior with tests.

Business Impact

Shows disciplined engineering habits: write a focused function, validate edge cases, and prove correctness with automated tests.

Why It Matters

This project demonstrates test-oriented thinking and clean function design.

Skills Demonstrated

  • Algorithm implementation in JavaScript
  • Basic unit-test workflow
  • Edge-case handling and expected outputs

Run Locally

1. Open the project folder. 2. Install dependencies with `npm install`. 3. Run tests with `npm test`.

What I'd Improve Next

  • Expand test coverage for invalid inputs
  • Add TypeScript typing for safer function contracts
  • Document complexity analysis in the README

Notes

  • `node_modules` is excluded from version control for clean repository hygiene.