A simple JavaScript password generator with options for uppercase letters, numbers, and symbols.
arrayFromLowToHigh– returns ordered number arrays and handles invalid rangesgeneratePassword– returns strings of correct length, includes requested character types
All pure functions are fully tested, achieving 100% coverage:
npm install
npm run test
npm run test:coverage