Lua
ph
lua 5.3 reference manual
colon vs. dot
A call v:name(args) is syntactic sugar for v.name(v,args), except that v is evaluated only once.
Lua manual : Function Calls
Tutorial: Understanding the colon vs. dot operator
A call v:name(args) is syntactic sugar for v.name(v,args), except that v is evaluated only once.
Lua manual : Function Calls
Tutorial: Understanding the colon vs. dot operator