Basics of JavaScript Pure Functions