Every line of 'console log hello world' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
68 log(...args) { 69 this._console.log(...args); 70 }
2 static Log() { 3 console.log('yo') 4 return 'yo' 5 }
411 consoleLog(message) { 412 console.log(message); // eslint-disable-line no-console 413 }
42 function testConsoleLog(callback) { 43 testing.assert(console.re.log('This is a %s', string), 'testConsoleLog string', callback); 44 testing.success("console.re.log('This is a %s', string); passed"); 45 46 testing.assert(console.re.log('This is an %s', object), 'testConsoleLog object', callback); 47 testing.success("console.re.log('This is an %s', object); passed"); 48 49 testing.assert(console.re.log('This is an %s', array), 'testConsoleLog array', callback); 50 testing.success("console.re.log('This is an %s', array); passed"); 51 52 testing.assert(console.re.log('This is a number %d', number), 'testConsoleLog number', callback); 53 testing.success("console.re.log('This is a number %d', number); passed"); 54 55 testing.assert( 56 console.re.log('simple log output of [i]process.env[/i] %s', process.env), 57 'testConsoleLog process.env', 58 callback 59 ); 60 testing.success("console.re.log('simple log output of [i]process.env[/i] %s', process.env); passed", callback); 61 }
10 static log(message: string): void { 11 log(LogType.Log, message); 12 }
13 function consoleLog () { 14 this._stdout.write( format( arguments ) + '\n' ); 15 }
25 function log(...args) { 26 window.console.log(...args); 27 history.push(args.join('\n')); 28 }
89 Log (message) { 90 var output = '<span></span>' + message; 91 this.Messages.push(output); 92 }
4 public info(log: AdapterLog) { 5 console.info(log.message, log.meta); 6 }
8 function consoleLog(message: string) { 9 console.log(message) 10 }