• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1This tests that items in a NodeList can be retrieved directly by calling as a function with an integral index parameter, starting from 0.
2It means NodeList[0] and NodeList(0) both work.
3
4On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
5
6
7PASS nodeList[0] is nodeList(0)
8PASS !nodeList[nodeList.length] is !nodeList(nodeList.length)
9PASS successfullyParsed is true
10
11TEST COMPLETE
12
13