find class name from css as string javascript code example Example: get name of class javascript myObj.constructor.name