Examples of algorithms implemented in JavaScript.