News

Functional programming, as the name implies, is about functions. While functions are part of just about every programming paradigm, including JavaScript, a functional programmer has unique ...
This function outputs the value 22. When to use JavaScript’s reducer The reduce method provides a unique way to iterate through items in an array and process them.
Of all the hats JavaScript can wear, its form-processing features are among the most sought and used. Learn how to use JavaScript for form processing, validation, and more.
While JavaScript has many applications, working with string values is one of the most popular. Strings are objects within the JavaScript language. They are not stored as character arrays, so built ...
In the past two columns, we’ve looked at higher-order functions and talked a little bit about the power of functional programming. So far, the concepts we’ve covered do little to indicate how ...
Mousetrap is a simple and small (1.5kb) library for handling keyboard shortcuts without the use of jQuery and works in IE 6+, Safari, Firefox, Chrome and possibly Opera (so we’ve heard).
There are some advantages to using JavaScript, though, not in the least its popularity and ability to easily connect to third-party services, but also the simple fact that these functions can run ...