Closed Bug 207290 Opened 21 years ago Closed 19 years ago

JavaScript 1.5 Reference - String.substring()

Categories

(Documentation Graveyard :: Web Developer, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: timeless, Unassigned)

References

()

Details

In Parameters:
< indexB
< An integer between 0 and 1 less than the length of the string.
The second param can be the length of the string ("a".substring(0,1)). It should be:
> indexB
> An integer between 0 and the length of the string.

In Example 3.:
< document.write(str.substring(0,3);
< document.write(str.substring(3,0);
There are too few )s in the document.write lines. It should be:
> document.write(str.substring(0,3));
> document.write(str.substring(3,0));
Reassigning to Bob Clary.
Assignee: rudman → bc
->default
Assignee: bc → rudman
rudman is no longer w/ mozilla.org -> nobody
Assignee: rudman → nobody
fixed
http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:String:substring
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.