Capstone: Utility Library
Build a set of reusable utility functions that combine everything you've learned about functions.
Step 1 of 5
Build your own utility library!
Professional developers don't write the same helper code over and over — they build utility libraries: collections of small, reusable functions that solve common problems. Libraries like Lodash and date-fns are just big collections of utility functions. In this capstone, you'll build your own mini utility library with five functions that format text, do math, and work with arrays. Each function uses concepts from the lessons you've completed: declarations, parameters, return values, arrow functions, and callbacks.
Think of it this way: Think of a utility library like a toolbox. Each function is a tool — a hammer, a screwdriver, a wrench. You build the toolbox once, and whenever you start a new project, you bring the whole toolbox along. No need to build a new hammer every time.
Learn more on MDN