html_js之demo
a.js var errorString = "Please input a positive integer."; var arr = ["A", "B", "C", "D"]; function count() { max = arr.length; //max, 全局变量 document.getElementById("num").innerHTML =