Created
May 29, 2018 03:12
-
-
Save khaosdoctor/b9c9f46ae538351a74bf776cc9435901 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log = (...items) => { | |
let output = '' | |
for (const item of items) { | |
output += console.inspect[typeof item](item) | |
if (item[Symbol.for('object.upper')]) output.toUpperCase() | |
output += ', ' | |
} | |
process.stdout.write(output + '\n') | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment