Scala – Closures




A closure is a function which uses one or more variables declared outside this function.