Although the OpenLayers 3 development team chose Closure Library mainly for performance purposes, it is not the only reason.
To demonstrate, let's try some functions with Closure Library.
We will review the most useful functions when you chose to use the Closure Library. It will also help for understanding OpenLayers 3 internal code, based on Closure, when making custom components. Let's start with DOM functions.