If you have a webpage and it has a bunch of objects in there is there a way to select all objects of a specific type?
For example, if you define Class A, and then you create 3 instances of A, is there a way to find all instances of Class A?
class A{
}
var a = new A()
var b = new A()
var c = new A()
Is there a way to find objects a
,b
,c
?