init(dictionaryLiteral:)
Creates a new object with the key-value pairs in the dictionary literal.
convenience required init(dictionaryLiteral elements: (String, JSValue)...)
Parameters
- elements
A variadic list of key-value pairs where all keys are strings