property
jsc.HeapStats.objectTypeCounts
objectTypeCounts: Record<string, number>
Number of live cells of each type, keyed by JavaScriptCore's name for the type: JavaScript classes such as Object, Array, Promise, and Function, engine-internal types such as Structure and FunctionExecutable, and string for primitive strings. Ordered from most to least common; types with no live instances are omitted.
Unlike objectCount, this includes cells allocated since the last garbage collection.