Sobes.tech
Junior — Senior

Closure example with access to a hidden variable

livecode

Task condition

Formulate an example of using a closure where a nested function can access a variable declared in an outer function.

// TODO: implement a closure