Objects
Last updated
Last updated
These functions are used when you need to get the properties of an objection in the function stack.
For each of these examples, we will create a variable called object
with the value
Get the property names of an object as an array.
In the above example, the object is changed to an array
Get the property values of an object as an array.
In the above example, the object is changed to an array
Get the property entries of an object as an array
In the above example, the object is changed to an array