console.log in single line code example
Example: How can I print multiple arrays on separate lines using same console.log?
var a = [2, 4];
var b = [5, 6];
console.log('',a,'\n',b)
var a = [2, 4];
var b = [5, 6];
console.log('',a,'\n',b)