SOURCE

var tian = ["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"]
function NumToTian(a){
    var b= a % 10
    return tian[b]
}
function wuhe(i){
    var outstr=""
    outstr += NumToTian(i)
    outstr += NumToTian(i+5)
    outstr += "合" 
    console.log(outstr)
}
function outwuhe(){
    for(i=0;i<20;i++){
        wuhe(i)
    }
}
outwuhe()
console 命令行工具 X clear

                    
>
console