attributes()Get the attributes of an object
attributes(obj)
obj (object) — An object
array — Returns an array that contains obj's attributes
a = {
id: "A23",
name: "Clara",
age: 20,
campus: "ITB"
}
b = attributes(a)
' b is:
' array(
' [0] = "campus"
' [1] = "age"
' [2] = "name"
' [3] = "id"
' )