SyntaxFix
Write A Post
Hire A Developer
Questions
If key is present table.put(key, val) will just overwrite the value else it'll create a new entry. Poof! and you are done. :)
table.put(key, val)
you can get the value from a map by using key is table.get(key); That's about it
table.get(key);