local function

A local function is a function within a function. It is a function scoped within another function. It is another way to achieve code reuse.