我尝试拆分数组的元素,然后收到消息' Uncaught TypeError:无法读取属性' split'未定义'
var pattern1 = /[0-9].?[d].?[0-9]/g;
var teste = [];
var teste = rolagem.match(pattern1);
for (var i = 0; i <= teste.length; i++) {
var meuarray = teste[i].split('d');
console.log(meuarray.toString());
};