Use getPrototypeOf() to get the name of the constructor