javascript .done code example
Example: .done javascript
/* done is just a non-official standard name for a function(Callback)
that informs the calling function (parent in stacktrace) that a task is
completed. recall that javascript is asynchronous and functions can be
passed around as variables. */