๋ฐ์ํ
Notice
Recent Posts
Recent Comments
Link
250x250
์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- react
- canvas์ด๋ฏธ์ง
- ์คํฌ๋ฆฝํธํ๊ทธ
- JavaScript
- canvas
- canvaselement
- scriptํ๊ทธ
- ์ด๋ฏธ์ง์๋ฅด๊ธฐ
- ํ๊ทธ๋์ ์ฝ์
Archives
- Today
- Total
๋๊ธ์ด์ STORY
String ์ค๋ธ์ ํธ ๋ณธ๋ฌธ
728x90
๋ฐ์ํ
SMALL
๐ถ Unicode
- ์ ๋์ฝ๋๋ U+0031๊ณผ ๊ฐ์ ํํ๋ก ์์ฑํ๋ฉฐ ์ด๋ ์ซ์ 1์ ๋ํ๋
- “U+”๋ฅผ ์์ฑํ๊ณ ์ด์ด์ ์ฝ๋ ํฌ์ธํธ๋ฅผ ์์ฑ
- U+0031์์ 0031์ด ์ฝ๋ ํฌ์ธํธ์ด๋ค.
- ์ฝ๋ ํฌ์ธํธ๋ ๋ฌธ์ ์ฝ๋๋ก ์๋ ค์ ธ ์๋ค.
- ์ฝ๋ ํฌ์ธํธ
- 4์๋ฆฌ ์ด์์ UTF-16 ์ง์ ํํ๋ก U+0000์์ U+10FFF๊น์ง ์ฝ 110๋ง๊ฐ ์ ๋๋ฅผ ์ฌ์ฉ ๊ฐ๋ฅํ๋ค.
- ๋ฌธ์, ๊ธฐํธ, ์ด๋ชจ์ง, ์์ด์ฝ์ ํํํ ์ ์๋ค.
- ์ ์ฒด๋ 17๊ฐ ํ๋ฉด์ผ๋ก ๋๋์ด์ ธ ์์ผ๋ฉฐ, ํ๋์ ํ๋ฉด์ 65535(U+FFFF)๊ฐ ์ด๋ค.
- ์ฒซ๋ฒ์งธ ํ๋ฉด์ BMP๋ผ๊ณ ๋ถ๋ฅธ๋ค.
- ์ผ๋ฐ์ ์ธ ๋ฌธ์๊ฐ ์ด ํ๋ฉด์ ์ํ๋ฉฐ ํ๊ธ๋ ์ฌ๊ธฐ ์ํ๋ค.
- BMP๋ฅผ ์ ์ธํ ์ฝ๋ ํฌ์ธํธ๊ฐ ์ํ ํ๋ฉด์ Supplementary plane ๋๋ Astral plane์ด๋ผ๊ณ ๋ถ๋ฆ
- 4์๋ฆฌ๊ฐ ์๋ 5์๋ฆฌ ์ด์์ ์ฝ๋ํฌ์ธํธ๊ฐ ์ฌ๊ธฐ ์ํจ
- ์ฝ๋ ํฌ์ธํธ
console.log("\x31\x32\x33"); // 123
console.log("\u0031\u0032\u0033"); // 123
console.log("\u{34}\u{35}\u{36}"); // 456
console.log("\u{1f418}"); // ๐
console.log("\uD83D\uDc18"); // ๐
728x90
๋ฐ์ํ
LIST
'Javascript > ES6' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
Math ์ค๋ธ์ ํธ (0) | 2024.06.12 |
---|---|
Number ์ค๋ธ์ ํธ (1) | 2024.06.12 |
Object ์ค๋ธ์ ํธ (0) | 2024.06.12 |
์คํผ๋ ์ด์ (2) | 2024.06.12 |
๋์คํธ๋ญ์ฒ๋ง (1) | 2024.06.12 |