Skip to content

Commit 60b761c

Browse files
committed
Fix ex. numbering
1 parent ffdd67f commit 60b761c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/strings/sprintf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function sprintf() {
1818
// returns 3: '[####monkey]'
1919
// example 4: sprintf("%d", 123456789012345);
2020
// returns 4: '123456789012345'
21-
// example 4: sprintf( '%-03s', 'E' );
21+
// example 5: sprintf('%-03s', 'E');
2222
// returns 5: 'E00'
2323

2424
var regex = /%%|%(\d+\$)?([-+\'#0 ]*)(\*\d+\$|\*|\d+)?(\.(\*\d+\$|\*|\d+))?([scboxXuideEfFgG])/g;

0 commit comments

Comments
 (0)