Skip to content

Commit 8f760f6

Browse files
committed
Fix a typo
Fixed a small typo: missing "=" sign
1 parent 72b0d35 commit 8f760f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions/strings/hex2bin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ function hex2bin(s) {
1010

1111
s += '';
1212

13-
for ( l s.length ; i < l; i+=2 ) {
13+
for ( l = s.length ; i < l; i+=2 ) {
1414
ret.push(parseInt(s.substr(i, 2), 16));
1515
}
1616

0 commit comments

Comments
 (0)