(2) This example counts the occurrences of Moscow in the string. var cities = new String("Paris Moscow Tokyo Moscow"); var counter = 0; var n = cities.indexOf(" ...
確定! 回上一頁