GetNth()Method : Object
Returns the nth property value of an object
Values
function GetNth(n: Number): mixed
Parameters
- n
- The index to fetch.
Returns
- mixed
- The nth property value of this.
Example
const average = {"name": "the lod", "age": "85d", "colour": "green"}; console.log(average.GetNth(0)); // Should return: the lod
Log
JMAC g_b | 01-07-25
Method introduced.