Skip to content

Commit e66be52

Browse files
committed
JS isn't Perl or PHP
even though that was a valid identifier
1 parent fb8557d commit e66be52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

count-characters/javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ to count code points.
88
```javascript
99
var puny = require('punycode');
1010

11-
$count = puny.ucs2.decode(str).length;
11+
count = puny.ucs2.decode(str).length;
1212
```

0 commit comments

Comments
 (0)