const obj = { channel: “wevmvmklskdosll12k;0”, index:0 };

Object.keys(obj).map(key => console.log(obj[key]));

有ES6语法,必须搭配Babel使用…