Implementation for fieldsOf
an array of strings containing the names of the fields in the given type
See Implementation
Implementation for fieldsOf