Example Of Higher Order Functions In Javascript For Beginners