Get name of object or class October 5, 2022 by Tarik Get your object’s constructor function and then inspect its name property. myObj.constructor.name Returns “myClass”.