Untitled

 avatar
unknown
plain_text
a year ago
190 B
5
Indexable
const str = 'hello, world!';

// Uppercase conversion
const upperStr = str.toUpperCase();

// Red color output using ANSI escape codes
console.log('\x1b[31m' + upperStr + '\x1b[0m');
Editor is loading...
Leave a Comment