This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | -- Assign an empty table to the local variable named M (it's standard to name the variable as "M") | |
| local M = {} | |
| -- Define your function & add it the M table | |
| function M.do_something() | |
| -- Your functional logic | |
| end | |
| -- Since the M table is scoped, it has to be returned for usage elsewhere | |
| return M |