Table Caption
Position |
Salary |
Gender |
Address |
next page ... |
next page ... |
next page ... |
next page ... |
next page ... |
next page ... |
EMP0001 |
Margaret Martin |
Accountant |
56,000 |
Female |
1230 North Ave. Dallas, Texas 98551 |
EMP0002 |
Martha Raynolds |
Secretary |
35,000 |
Female |
1900 Dallas Road Dallas, Texas 98554 |
The deleteRow() method throws a INDEX_SIZE_ERR DOMException
if the specified index is negative.
Retrieve the second TABLE element which has four rows. Try
to delete a new row using an index of negative five. This should throw
a INDEX_SIZE_ERR DOMException since the index is negative.