Skip to main content
These functions are used when you need to get the properties of an objection in the function stack.

Examples

For each of these examples, we will create a variable called object with the value

Get Keys

Get the property names of an object as an array.
In the above example, the object is changed to an array

Get Values

Get the property values of an object as an array.
In the above example, the object is changed to an array

Get Entries

Get the property entries of an object as an array
In the above example, the object is changed to an array