I need to pass an array as built-in function. For example this works fine:
console.info('%cBlue text%c Red text', 'color:blue', 'color:red');
There are 3 parameters, but what should I do when I got n parameter?
var x = [ '%cBlue text%c Red text...%c nth-Text', 'color:blue', 'color:red', ... , 'nth-color:black'];
console.info.apply(null, x);
does not work. Thanks in advance.