A

Admin • 833K Points
Coach

Q. Which looping statement allows XML tags to appear in JavaScript programs and adds API for operating on XML data?

  • (A) for loop
  • (B) while loop
  • (C) for/each loop
  • (D) all of the mentioned
  • Correct Answer - Option(C)
  • Views: 28
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin

The for/each loop is a new looping statement standardized by E4X. E4X (ECMAScript for XML) is a language extension that allows XML tags to appear literally in JavaScript programs and adds syntax and API for operating on XML data.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.