Literal creation with tuples of key/value.
Literal creation with tuples of key/value.
Example:
js.Dynamic.literal("name1" -> "value", "name2" -> "value")
Literal creation with named arguments.
Literal creation with named arguments.
Example:
js.Dynamic.literal(name1 = "value", name2 = "value")
Creates a new object with a literal syntax.
For example,
returns the JavaScript object