Skip to content

Commit

Permalink
Fix typo in prefer-code-point.md (#1615)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalkygames123 authored Nov 22, 2021
1 parent b38fbb7 commit 30d66a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/prefer-code-point.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Unicode is better supported in [`String#codePointAt()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/codePointAt) and [`String.fromCodePoint()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/fromCodePoint).

- [Different between `String.fromCodePoint()` and `String.fromCharCode()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/fromCodePoint#compared_to_fromcharcode)
- [Difference between `String.fromCodePoint()` and `String.fromCharCode()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/fromCodePoint#compared_to_fromcharcode)

## Fail

Expand Down

0 comments on commit 30d66a8

Please sign in to comment.