Redundant console.log