Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local dictionary = {}
- function dictionary.remove(dict, index)
- local value = dict[index]
- dict[index] = nil
- return value
- end
- return dictionary
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement