Why I have this error: Object doesn't support property or method 'forEach' for Internet Explorer?
问题 I am Working on Javascript on a jenkins plugin using maven and I have this code: function arrayElements(element, index, array) { var arrayPaths = element.split("\\"); var projectSource = arrayPaths[2]; var array = element.split("_"); if (projectSource === global ) { if (array[2]===filtro){ document.getElementById("source").options.add(new Option(arrayPaths[3], element)); } } } function fillCompiledSource(object, projects) { document.getElementById("source").innerHTML = ""; global = document