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 "replaceData(offset,count,arg)" method raises an |
||
20 | INDEX_SIZE_ERR DOMException if the specified offset |
||
21 | is negative. |
||
22 | |||
23 | Retrieve the character data of the last child of the |
||
24 | first employee and invoke its |
||
25 | "replaceData(offset,count,arg) method with offset=-5 |
||
26 | and count=3 and arg="ABC". It should raise the |
||
27 | desired exception since the offset is negative. |
||
28 | |||
29 |
|
||
30 |
|
||
31 | |||
32 | |||
33 | |||
34 | |||
35 | |||
36 | |||
37 | |||
38 | |||
39 | |||
40 | |||
41 | |||
42 | |||
43 | |||
44 | |||
45 | |||
46 | |||
47 | |||
48 | |||
49 | |||
50 | !DOCTYPE>!-- |