We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b3f619 commit 824de6aCopy full SHA for 824de6a
functions/strings/hex2bin.js
@@ -1,11 +1,11 @@
1
function hex2bin(s) {
2
// discuss at: http://phpjs.org/functions/hex2bin/
3
// original by: Dumitru Uzun (http://duzun.me)
4
- // example 1: bin2hex('44696d61');
+ // example 1: hex2bin('44696d61');
5
// returns 1: 'Dima'
6
- // example 2: bin2hex('00');
+ // example 2: hex2bin('00');
7
// returns 2: '\x00'
8
- // example 3: bin2hex('2f1q')
+ // example 3: hex2bin('2f1q')
9
// returns 3: false
10
11
var ret = [], i = 0, l;
0 commit comments