copyPropertyNames method

JSPropertyNameArray copyPropertyNames()

Gets the names of an object's enumerable properties.

Implementation

JSPropertyNameArray copyPropertyNames() {
  return JSPropertyNameArray(
      JSObjectRef.jSObjectCopyPropertyNames(context.pointer, pointer));
}