Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3584 | sourcerer | 1 | |
2 | |||
13 | |||
14 | |||
15 | |||
16 |
|
||
17 |
|
||
18 | |||
19 | The "substringData(offset,count)" method raises an |
||
20 | INDEX_SIZE_ERR DOMException if the specified offset |
||
21 | is greater than the number of characters in the string. |
||
22 | |||
23 | Retrieve the character data of the last child of the |
||
24 | first employee and invoke its "substringData(offset,count) |
||
25 | method with offset=40 and count=3. It should raise the |
||
26 | desired exception since the offsets value is greater |
||
27 | than the length. |
||
28 | |||
29 |
|
||
30 |
|
||
31 | |||
32 | |||
33 | |||
34 | |||
35 | |||
36 | |||
37 | |||
38 | |||
39 | |||
40 | |||
41 | |||
42 | |||
43 | |||
44 | |||
45 | |||
46 | |||
47 | |||
48 | |||
49 | |||
50 | !DOCTYPE>!-- |