You should return a string instead of calling console.log() within the method.