how to print characters in newline in javascript console code example Example: console log add new line console.log('',a,'\n',b,'\n',c)