table.insert(tbl, 'val')
table.insert
- will append given value to the given tabletbl
- name of the table to add item to'val'
- item to add to table
group: table
tbl = {1, 2}
table.insert(tbl, 3)
print(table.concat(tbl, ', '))
1, 2, 3
link_youtube: https://youtu.be/nmhXxDkFID0