Create a function checkConstructor that logs the constructor of an object created with {}.

Output: