Skip to content

Commit 824de6a

Browse files
committed
Update comments to properly run the test
1 parent 3b3f619 commit 824de6a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

functions/strings/hex2bin.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
function hex2bin(s) {
22
// discuss at: http://phpjs.org/functions/hex2bin/
33
// original by: Dumitru Uzun (http://duzun.me)
4-
// example 1: bin2hex('44696d61');
4+
// example 1: hex2bin('44696d61');
55
// returns 1: 'Dima'
6-
// example 2: bin2hex('00');
6+
// example 2: hex2bin('00');
77
// returns 2: '\x00'
8-
// example 3: bin2hex('2f1q')
8+
// example 3: hex2bin('2f1q')
99
// returns 3: false
1010

1111
var ret = [], i = 0, l;

0 commit comments

Comments
 (0)