dict [function]
dict( [key, value, ...] )
returns a 'dict' (dictionary/hash table) object, containing the even arguments mapped to respective previous arguments
- if no arguments are passed, an empty dictionary is returned
- if an even number of arguments is passed, function returns null and emits a warning
- all even arguments must be strings or convertible to strings
dict( "name", "John", "phone", 1234567890 ); // same as { name = "John", phone = 1234567890 }