function arr_co(arr1,arr2){
var co_arr = [];
if(arr1.length-arr2.length<0){
for(var i=0;i<arr2.length;i++){
if(i<=(arr1.length-1)){
co_arr.push(arr1[i]+'-'+arr2[i]);
}else{
co_arr.push(' '+'-'+arr2[i]);
}
}
}else{
for(var i=0;i<arr1.length;i++){
if(i<=(arr2.length-1)){
co_arr.push(arr1[i]+'-'+arr2[i]);
}else{
co_arr.push(arr1[i]+'-'+' ');
}
}
}
return co_arr;
}
var arr1 = [0,1,2,3,5];
var arr2 = [0,1,2,3];
var coarr = arr_co(arr1,arr2);
console.log(coarr);
*:not(button){
color:#fff;
}
a:visited{
color:lightblue
}
console