如何为openh264选择错误隐藏方法?

时间:2016-09-30 03:13:55

标签: openh264

这些错误隐藏枚举对openh264意味着什么?有没有关于他们的文件?

let beans = ["1", "2", "3", ["4", "5", "6"]];

//Loop over the beans array
for (var i = 0; i < beans.length; i++) {
    // create div elements
    // check to see if it is string 
    if (typeof beans[i] === 'string') {
        let divs = document.createElement('div');
        divs.textContent = beans[i];
        document.body.appendChild(divs);
    } else {
        let divs = document.createElement('div');
        divs.textContent = "These are the array items:";
        document.body.appendChild(divs);
        for (var j = 0; j < beans[i].length; j++) {
            divs = document.createElement('div');        // <--- ADD THIS
            divs.textContent = beans[i][j];
            document.body.appendChild(divs);
            console.log(i + " " + j + " " + beans[i][j]);
        }
    }
}

0 个答案:

没有答案