toObject
Last updated
Last updated
Creates an object of the passed data.
Name | Description | Input Type | Default | Options | Required |
---|---|---|---|---|---|
Note: Dynamic input means that user can generate the necessary input required and assign a value in it as well.
Description | Output Type |
---|---|
N/A
Coming soon.
The user wants to create an object data and view it in the console.
Call the function console
. Call the function toObject
inside the value
parameter of the console
function.
Add a key. Key : name
Assign a value to the key. name : Lili
{Dynamic}
{Based on user inputs.}
Any
-
-
No
Returns the created object with the passed data.
Object