search

Home  >  Q&A  >  body text

javascript - JS does not consider IE 6, 7, and 8. Will adding a comma at the end of the array cause an error?

After testing, there is no problem on the new version of Chrome. I am not sure about the compatibility with other browsers. Current coding practice still removes the final comma.

phpcn_u1582phpcn_u15822790 days ago389

reply all(1)I'll reply

  • 为情所困

    为情所困2017-05-19 10:32:42

    Isn’t it just a direct test? No errors will occur in Safari(5.1.7), FF(52.0.2), IE(9+), Opera(43.0.2442.1144)

    reply
    0
  • Cancelreply