You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: misc_docs/syntax/language_char_literal.mdx
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ summary: "This is the `char` literal syntax."
6
6
category: "languageconstructs"
7
7
---
8
8
9
-
A `char` literal is composed of two **single** quotes. Double quotes are reserved for the `string` type. Note that `char`doesn't support Unicode or UTF-8.
9
+
A `char` literal is composed of two **single** quotes. Double quotes are reserved for the `string` type. Note that `char`is essentially an integer in JS since version 10.0.
10
10
11
11
### Example
12
12
@@ -16,14 +16,20 @@ A `char` literal is composed of two **single** quotes. Double quotes are reserve
0 commit comments