JavaScript is a multi-paradigm language, supporting functional, object-oriented, and imperative programming styles. It allows you to write code in a variety of styles depending on the needs of the application.
Example of functional style:
let add = (a, b) => a + b;
console.log(add(2, 3)); // Output: 5