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