localkeyword to define any variables. The syntax for defining a local variable is:
local variable_name = value. Since Lua is a dynamically-typed language, there's no need to define the type of value you're using, just assign a value & go.
varis assigned to the result of the expensive function, its value can be accessed as many times as we need without having to spend another second each time we need to use that specific value.