A code example of javascript showcasing a function.

An example of a productive programming language function.