Skip to content

Commit 756a62b

Browse files
committed
Fix count_chars to actual return value (as validly expected by Travis)
1 parent d2c3d50 commit 756a62b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/strings/count_chars.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function count_chars(str, mode) {
77
// + bugfixed by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)
88
// + revised by: Theriault
99
// * example 1: count_chars("Hello World!", 3);
10-
// * returns 1: "!HWdelor"
10+
// * returns 1: " !HWdelor"
1111
// * example 2: count_chars("Hello World!", 1);
1212
// * returns 2: {32:1,33:1,72:1,87:1,100:1,101:1,108:3,111:2,114:1}
1313
var result = {},

0 commit comments

Comments
 (0)