{"id":15992,"date":"2024-08-01T02:55:53","date_gmt":"2024-07-31T23:25:53","guid":{"rendered":"https:\/\/www.itpiran.net\/blog\/?p=15992"},"modified":"2024-08-01T02:55:53","modified_gmt":"2024-07-31T23:25:53","slug":"javascript-reference-global_objects-string","status":"publish","type":"post","link":"https:\/\/www.itpiran.net\/blog\/tutorials\/javascript-reference-global_objects-string\/","title":{"rendered":"String Object \u062f\u0631 JavaScript"},"content":{"rendered":"<h2 id=\"%d9%85%d9%82%d8%af%d9%85%d9%87\">\u0645\u0642\u062f\u0645\u0647<\/h2>\n<p>&nbsp;<\/p>\n<p>\u0631\u0634\u062a\u0647 \u0647\u0627 \u0628\u0631\u0627\u06cc \u0646\u06af\u0647\u062f\u0627\u0631\u06cc \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u0646\u062f \u0628\u0647 \u0635\u0648\u0631\u062a \u0645\u062a\u0646 \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0634\u0648\u0646\u062f \u0645\u0641\u06cc\u062f \u0647\u0633\u062a\u0646\u062f. \u0628\u0631\u062e\u06cc \u0627\u0632 \u067e\u0631\u06a9\u0627\u0631\u0628\u0631\u062f\u062a\u0631\u06cc\u0646 \u0639\u0645\u0644\u06cc\u0627\u062a \u0631\u0648\u06cc \u0631\u0634\u062a\u0647 \u0647\u0627\u060c \u0628\u0631\u0631\u0633\u06cc \u0637\u0648\u0644 \u0622\u0646\u0647\u0627\u060c \u0633\u0627\u062e\u062a\u0646 \u0648 \u0628\u0647 \u0647\u0645 \u067e\u06cc\u0648\u0633\u062a\u0646 \u0622\u0646\u0647\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0639\u0645\u0644\u06af\u0631\u0647\u0627\u06cc \u0631\u0634\u062a\u0647 + \u0648 +=\u060c \u0628\u0631\u0631\u0633\u06cc \u0648\u062c\u0648\u062f \u06cc\u0627 \u0645\u06a9\u0627\u0646 \u0632\u06cc\u0631 \u0631\u0634\u062a\u0647 \u0647\u0627 \u0628\u0627 \u0645\u062a\u062f indexOf() \u06cc\u0627 \u0627\u0633\u062a\u062e\u0631\u0627\u062c \u0632\u06cc\u0631 \u0631\u0634\u062a\u0647 \u0647\u0627 \u0628\u0627 \u0631\u0634\u062a\u0647 \u0641\u0631\u0639\u06cc \u0627\u0633\u062a. () \u0631\u0648\u0634.<\/p>\n<h2 id=\"%d8%a7%db%8c%d8%ac%d8%a7%d8%af-%d8%b1%d8%b4%d8%aa%d9%87-%d9%87%d8%a7\">\u0627\u06cc\u062c\u0627\u062f \u0631\u0634\u062a\u0647 \u0647\u0627<\/h2>\n<p>\u0631\u0634\u062a\u0647 \u0647\u0627 \u0631\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646 \u0628\u0647 \u0635\u0648\u0631\u062a \u0627\u0648\u0644\u06cc\u0647\u060c \u0627\u0632 \u0644\u0641\u0638 \u0631\u0634\u062a\u0647\u060c \u06cc\u0627 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0627\u0634\u06cc\u0627\u0621 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0633\u0627\u0632\u0646\u062f\u0647 String() \u0627\u06cc\u062c\u0627\u062f \u06a9\u0631\u062f:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const string1 = \"A string primitive\";\r\nconst string2 = 'Also a string primitive';\r\nconst string3 = `Yet another string primitive`;<\/code><\/pre>\n<\/div>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const string4 = new String(\"A String object\");\r\n<\/code><\/pre>\n<\/div>\n<p>\u0631\u0634\u062a\u0647\u200c\u0647\u0627\u06cc \u0627\u0648\u0644\u06cc\u0647 \u0648 \u0627\u0634\u06cc\u0627\u0621 \u0631\u0634\u062a\u0647\u200c\u0627\u06cc \u0631\u0641\u062a\u0627\u0631\u0647\u0627\u06cc \u0645\u0634\u062a\u0631\u06a9 \u0632\u06cc\u0627\u062f\u06cc \u062f\u0627\u0631\u0646\u062f\u060c \u0627\u0645\u0627 \u062a\u0641\u0627\u0648\u062a\u200c\u0647\u0627 \u0648 \u0627\u062e\u0637\u0627\u0631\u0647\u0627\u06cc \u0645\u0647\u0645 \u062f\u06cc\u06af\u0631\u06cc \u0646\u06cc\u0632 \u062f\u0627\u0631\u0646\u062f. &#8220;String primitives and String objects&#8221; \u0631\u0627 \u062f\u0631 \u0632\u06cc\u0631 \u0628\u0628\u06cc\u0646\u06cc\u062f.<\/p>\n<p>\u062d\u0631\u0641 \u0647\u0627\u06cc \u0631\u0634\u062a\u0647 \u0627\u06cc \u0631\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06af\u06cc\u0648\u0645\u0647 \u0647\u0627\u06cc \u062a\u06a9 \u06cc\u0627 \u062f\u0648\u062a\u0627\u06cc\u06cc \u06a9\u0647 \u0628\u0647 \u0637\u0648\u0631 \u06cc\u06a9\u0633\u0627\u0646 \u0631\u0641\u062a\u0627\u0631 \u0645\u06cc \u0634\u0648\u0646\u062f \u06cc\u0627 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 \u0628\u06a9 \u062a\u06cc\u06a9 ` \u0645\u0634\u062e\u0635 \u06a9\u0631\u062f. \u0627\u06cc\u0646 \u0641\u0631\u0645 \u0622\u062e\u0631 \u06cc\u06a9 \u0627\u0644\u06af\u0648\u06cc \u0648\u0627\u0642\u0639\u06cc \u0631\u0627 \u0645\u0634\u062e\u0635 \u0645\u06cc \u06a9\u0646\u062f: \u0628\u0627 \u0627\u06cc\u0646 \u0641\u0631\u0645 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0639\u0628\u0627\u0631\u0627\u062a \u0631\u0627 \u062f\u0631\u0648\u0646 \u06cc\u0627\u0628\u06cc \u06a9\u0646\u06cc\u062f. \u0628\u0631\u0627\u06cc \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0628\u06cc\u0634\u062a\u0631 \u062f\u0631 \u0645\u0648\u0631\u062f \u0646\u062d\u0648 \u0644\u0641\u0638 \u0631\u0634\u062a\u0647 \u0627\u06cc\u060c \u0628\u0647 \u062f\u0633\u062a\u0648\u0631 \u0648\u0627\u0698\u06af\u0627\u0646\u06cc \u0645\u0631\u0627\u062c\u0639\u0647 \u06a9\u0646\u06cc\u062f.<\/p>\n<h2 id=\"%d8%af%d8%b3%d8%aa%d8%b1%d8%b3%db%8c-%d8%a8%d9%87-%da%a9%d8%a7%d8%b1%d8%a7%da%a9%d8%aa%d8%b1\">\u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631<\/h2>\n<p>\u062f\u0648 \u0631\u0627\u0647 \u0628\u0631\u0627\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u06cc\u06a9 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 \u062f\u0631 \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f. \u0631\u0648\u0634 \u0627\u0648\u0644 \u0645\u062a\u062f ()charAt \u0627\u0633\u062a:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>\"cat\".charAt(1); \/\/ gives value \"a\"\r\n<\/code><\/pre>\n<\/div>\n<p>\u0631\u0627\u0647 \u062f\u06cc\u06af\u0631 \u0627\u06cc\u0646 \u0627\u0633\u062a \u06a9\u0647 \u0631\u0634\u062a\u0647 \u0631\u0627 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u0634\u06cc \u0622\u0631\u0627\u06cc\u0647 \u0645\u0627\u0646\u0646\u062f \u062f\u0631 \u0646\u0638\u0631 \u0628\u06af\u06cc\u0631\u06cc\u0645\u060c \u062c\u0627\u06cc\u06cc \u06a9\u0647 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631\u0647\u0627\u06cc \u062c\u062f\u0627\u06af\u0627\u0646\u0647 \u0628\u0627 \u06cc\u06a9 \u0634\u0627\u062e\u0635 \u0639\u062f\u062f\u06cc \u0645\u0637\u0627\u0628\u0642\u062a \u062f\u0627\u0631\u0646\u062f:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>\"cat\"[1]; \/\/ gives value \"a\"\r\n<\/code><\/pre>\n<\/div>\n<p>\u0647\u0646\u06af\u0627\u0645 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0646\u0645\u0627\u062f \u0628\u0631\u0627\u06a9\u062a \u0628\u0631\u0627\u06cc \u062f\u0633\u062a\u0631\u0633\u06cc \u0628\u0647 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631\u060c \u062a\u0644\u0627\u0634 \u0628\u0631\u0627\u06cc \u062d\u0630\u0641 \u06cc\u0627 \u0627\u062e\u062a\u0635\u0627\u0635 \u06cc\u06a9 \u0645\u0642\u062f\u0627\u0631 \u0628\u0647 \u0627\u06cc\u0646 \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627 \u0645\u0648\u0641\u0642 \u0646\u062e\u0648\u0627\u0647\u062f \u0628\u0648\u062f. \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc \u062f\u0631\u06af\u06cc\u0631 \u0646\u0647 \u0642\u0627\u0628\u0644 \u0646\u0648\u0634\u062a\u0646 \u0647\u0633\u062a\u0646\u062f \u0648 \u0646\u0647 \u0642\u0627\u0628\u0644 \u062a\u0646\u0638\u06cc\u0645. (\u0628\u0631\u0627\u06cc \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0628\u06cc\u0634\u062a\u0631 \u0628\u0647 Object.defineProperty() \u0645\u0631\u0627\u062c\u0639\u0647 \u06a9\u0646\u06cc\u062f.)<\/p>\n<h2 id=\"%d9%85%d9%82%d8%a7%db%8c%d8%b3%d9%87-%d8%b1%d8%b4%d8%aa%d9%87-%d9%87%d8%a7\">\u0645\u0642\u0627\u06cc\u0633\u0647 \u0631\u0634\u062a\u0647 \u0647\u0627<\/h2>\n<p>\u0628\u0631\u0627\u06cc \u0645\u0642\u0627\u06cc\u0633\u0647 \u0631\u0634\u062a\u0647 \u0647\u0627 \u0627\u0632 \u0639\u0645\u0644\u06af\u0631\u0647\u0627\u06cc \u06a9\u0645\u062a\u0631 \u0648 \u0628\u0632\u0631\u06af\u062a\u0631 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const a = \"a\";\r\nconst b = \"b\";\r\nif (a &lt; b) {\r\n\/\/ true\r\nconsole.log(`${a} is less than ${b}`);\r\n} else if (a &gt; b) {\r\nconsole.log(`${a} is greater than ${b}`);\r\n} else {\r\nconsole.log(`${a} and ${b} are equal.`);\r\n}<\/code><\/pre>\n<\/div>\n<p>\u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u062a\u0645\u0627\u0645 \u0639\u0645\u0644\u06af\u0631\u0647\u0627\u06cc \u0645\u0642\u0627\u06cc\u0633\u0647\u060c \u0627\u0632 \u062c\u0645\u0644\u0647 === \u0648 ==\u060c \u0631\u0634\u062a\u0647 \u0647\u0627 \u0631\u0627 \u0628\u0647 \u062d\u0631\u0648\u0641 \u0628\u0632\u0631\u06af \u0648 \u06a9\u0648\u0686\u06a9 \u0645\u0642\u0627\u06cc\u0633\u0647 \u0645\u06cc \u06a9\u0646\u0646\u062f. \u06cc\u06a9 \u0631\u0627\u0647 \u0645\u062a\u062f\u0627\u0648\u0644 \u0628\u0631\u0627\u06cc \u0645\u0642\u0627\u06cc\u0633\u0647 \u0631\u0634\u062a\u0647\u200c\u0647\u0627 \u0628\u0627 \u062d\u0631\u0648\u0641 \u0628\u0632\u0631\u06af \u0648 \u06a9\u0648\u0686\u06a9\u060c \u062a\u0628\u062f\u06cc\u0644 \u0647\u0631 \u062f\u0648 \u0628\u0647 \u06cc\u06a9 \u062d\u0631\u0648\u0641 (\u0628\u0627\u0644\u0627 \u06cc\u0627 \u067e\u0627\u06cc\u06cc\u0646) \u0642\u0628\u0644 \u0627\u0632 \u0645\u0642\u0627\u06cc\u0633\u0647 \u0622\u0646\u0647\u0627\u0633\u062a.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>function areEqualCaseInsensitive(str1, str2) {\r\nreturn str1.toUpperCase() === str2.toUpperCase();\r\n}<\/code><\/pre>\n<\/div>\n<p>\u0627\u0646\u062a\u062e\u0627\u0628 \u062a\u0628\u062f\u06cc\u0644 \u0628\u0627 ()toUpperCase \u06cc\u0627 toLowerCase() \u0639\u0645\u062f\u062a\u0627\u064b \u062f\u0644\u062e\u0648\u0627\u0647 \u0627\u0633\u062a\u060c \u0648 \u0647\u06cc\u0686 \u06a9\u062f\u0627\u0645 \u0627\u0632 \u0622\u0646\u0647\u0627 \u062f\u0631 \u0647\u0646\u06af\u0627\u0645 \u06af\u0633\u062a\u0631\u0634 \u0641\u0631\u0627\u062a\u0631 \u0627\u0632 \u0627\u0644\u0641\u0628\u0627\u06cc \u0644\u0627\u062a\u06cc\u0646 \u06a9\u0627\u0645\u0644\u0627\u064b \u0642\u0648\u06cc \u0646\u06cc\u0633\u062a\u0646\u062f. \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644\u060c \u062d\u0631\u0648\u0641 \u06a9\u0648\u0686\u06a9 \u0622\u0644\u0645\u0627\u0646\u06cc \u00df \u0648 ss \u0647\u0631 \u062f\u0648 \u062a\u0648\u0633\u0637 toUpperCase() \u0628\u0647 SS \u062a\u0628\u062f\u06cc\u0644 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f\u060c \u062f\u0631 \u062d\u0627\u0644\u06cc \u06a9\u0647 \u062d\u0631\u0641 \u062a\u0631\u06a9\u06cc \u0131 \u0628\u0647 \u0627\u0634\u062a\u0628\u0627\u0647 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0646\u0627\u0645\u0633\u0627\u0648\u06cc \u0628\u0627 I \u062a\u0648\u0633\u0637 toLowerCase() \u06af\u0632\u0627\u0631\u0634 \u0645\u06cc\u200c\u0634\u0648\u062f\u060c \u0645\u06af\u0631 \u0627\u06cc\u0646\u06a9\u0647 \u0628\u0647 \u0637\u0648\u0631 \u062e\u0627\u0635 \u0627\u0632 toLocaleLowerCase (&#8220;tr&#8221;) \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u0648\u062f.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const areEqualInUpperCase = (str1, str2) =&gt;\r\nstr1.toUpperCase() === str2.toUpperCase();\r\nconst areEqualInLowerCase = (str1, str2) =&gt;\r\nstr1.toLowerCase() === str2.toLowerCase();\r\n\r\nareEqualInUpperCase(\"\u00df\", \"ss\"); \/\/ true; should be false\r\nareEqualInLowerCase(\"\u0131\", \"I\"); \/\/ false; should be true<\/code><\/pre>\n<\/div>\n<p>\u06cc\u06a9 \u0631\u0627\u0647 \u062d\u0644 \u0645\u0646\u0637\u0642\u06cc \u0648 \u0642\u0648\u06cc \u0628\u0631\u0627\u06cc \u0622\u0632\u0645\u0627\u06cc\u0634 \u0628\u0631\u0627\u0628\u0631\u06cc \u063a\u06cc\u0631 \u062d\u0633\u0627\u0633 \u0628\u0647 \u062d\u0631\u0648\u0641 \u0628\u0632\u0631\u06af\u060c \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 API Intl.Collator \u06cc\u0627 \u0645\u062a\u062f ()localeCompare \u0631\u0634\u062a\u0647 \u0627\u0633\u062a &#8211; \u0622\u0646\u0647\u0627 \u0631\u0627\u0628\u0637 \u06cc\u06a9\u0633\u0627\u0646\u06cc \u062f\u0627\u0631\u0646\u062f &#8211; \u0628\u0627 \u06af\u0632\u06cc\u0646\u0647 \u062d\u0633\u0627\u0633\u06cc\u062a \u0631\u0648\u06cc &#8220;\u0644\u0647\u062c\u0647&#8221; \u06cc\u0627 &#8220;\u067e\u0627\u06cc\u0647&#8221; \u062a\u0646\u0638\u06cc\u0645 \u0634\u062f\u0647 \u0627\u0633\u062a.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const areEqual = (str1, str2, locale = \"en-US\") =&gt;\r\nstr1.localeCompare(str2, locale, { sensitivity: \"accent\" }) === 0;\r\n\r\nareEqual(\"\u00df\", \"ss\", \"de\"); \/\/ false\r\nareEqual(\"\u0131\", \"I\", \"tr\"); \/\/ true<\/code><\/pre>\n<\/div>\n<p>\u0645\u062a\u062f localeCompare () \u0645\u0642\u0627\u06cc\u0633\u0647 \u0631\u0634\u062a\u0647\u200c\u0647\u0627 \u0631\u0627 \u0628\u0647 \u0631\u0648\u0634\u06cc \u0645\u0634\u0627\u0628\u0647 strcmp() \u0627\u0645\u06a9\u0627\u0646\u200c\u067e\u0630\u06cc\u0631 \u0645\u06cc\u200c\u0633\u0627\u0632\u062f &#8211; \u0627\u06cc\u0646 \u0627\u0645\u06a9\u0627\u0646 \u0645\u0631\u062a\u0628\u200c\u0633\u0627\u0632\u06cc \u0631\u0634\u062a\u0647\u200c\u0647\u0627 \u0631\u0627 \u0628\u0647 \u0634\u06cc\u0648\u0647\u200c\u0627\u06cc \u0622\u06af\u0627\u0647 \u0627\u0632 \u0645\u0646\u0637\u0642\u0647 \u0641\u0631\u0627\u0647\u0645 \u0645\u06cc\u200c\u06a9\u0646\u062f.<\/p>\n<h2 id=\"%d8%b1%d8%b4%d8%aa%d9%87-%d9%87%d8%a7%db%8c-%d8%a7%d9%88%d9%84%db%8c%d9%87-%d9%88-%d8%a7%d8%b4%db%8c%d8%a7%d8%a1-%d8%b1%d8%b4%d8%aa%d9%87\">\u0631\u0634\u062a\u0647 \u0647\u0627\u06cc \u0627\u0648\u0644\u06cc\u0647 \u0648 \u0627\u0634\u06cc\u0627\u0621 \u0631\u0634\u062a\u0647<\/h2>\n<p>\u062a\u0648\u062c\u0647 \u062f\u0627\u0634\u062a\u0647 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u062c\u0627\u0648\u0627 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0628\u06cc\u0646 \u0627\u0634\u06cc\u0627\u0621 \u0631\u0634\u062a\u0647 \u0648 \u0645\u0642\u0627\u062f\u06cc\u0631 \u0631\u0634\u062a\u0647 \u0647\u0627\u06cc \u0627\u0648\u0644\u06cc\u0647 \u062a\u0645\u0627\u06cc\u0632 \u0642\u0627\u0626\u0644 \u0645\u06cc \u0634\u0648\u062f. (\u0627\u06cc\u0646 \u062f\u0631 \u0645\u0648\u0631\u062f Boolean \u0648 Numbers \u0646\u06cc\u0632 \u0635\u0627\u062f\u0642 \u0627\u0633\u062a.)<\/p>\n<p>\u0644\u0641\u0638 \u0647\u0627\u06cc \u0631\u0634\u062a\u0647 \u0627\u06cc (\u06a9\u0647 \u0628\u0627 \u06af\u06cc\u0648\u0645\u0647 \u0647\u0627\u06cc \u062f\u0648\u062a\u0627\u06cc\u06cc \u06cc\u0627 \u062a\u06a9\u06cc \u0645\u0634\u062e\u0635 \u0645\u06cc \u0634\u0648\u0646\u062f) \u0648 \u0631\u0634\u062a\u0647 \u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0627\u0632 \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u0647\u0627\u06cc \u0631\u0634\u062a\u0647 \u062f\u0631 \u06cc\u06a9 \u0632\u0645\u06cc\u0646\u0647 \u063a\u06cc\u0631 \u0633\u0627\u0632\u0646\u062f\u0647 (\u06cc\u0639\u0646\u06cc \u0628\u062f\u0648\u0646 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u06a9\u0644\u0645\u0647 \u06a9\u0644\u06cc\u062f\u06cc \u062c\u062f\u06cc\u062f \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u0645\u06cc \u0634\u0648\u0646\u062f) \u0628\u0627\u0632\u06af\u0631\u062f\u0627\u0646\u062f\u0647 \u0634\u062f\u0647 \u0627\u0646\u062f\u060c \u0631\u0634\u062a\u0647 \u0647\u0627\u06cc \u0627\u0628\u062a\u062f\u0627\u06cc\u06cc \u0647\u0633\u062a\u0646\u062f. \u062f\u0631 \u0632\u0645\u06cc\u0646\u0647\u200c\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0642\u0631\u0627\u0631 \u0627\u0633\u062a \u06cc\u06a9 \u0645\u062a\u062f \u0628\u0631 \u0631\u0648\u06cc \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u0634\u0648\u062f \u06cc\u0627 \u062c\u0633\u062a\u062c\u0648\u06cc \u0648\u06cc\u0698\u06af\u06cc \u0631\u062e \u062f\u0647\u062f\u060c \u062c\u0627\u0648\u0627 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0628\u0647\u200c\u0637\u0648\u0631 \u062e\u0648\u062f\u06a9\u0627\u0631 \u0631\u0634\u062a\u0647 \u0627\u0648\u0644\u06cc\u0647 \u0631\u0627 \u067e\u06cc\u0686\u06cc\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 \u0645\u062a\u062f \u0631\u0627 \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u0645\u06cc\u200c\u06a9\u0646\u062f \u06cc\u0627 \u0628\u0647 \u062c\u0627\u06cc \u0622\u0646 \u062c\u0633\u062a\u062c\u0648\u06cc \u0648\u06cc\u0698\u06af\u06cc \u0631\u0627 \u0631\u0648\u06cc \u0634\u06cc wrapper \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc\u200c\u062f\u0647\u062f.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const strPrim = \"foo\"; \/\/ A literal is a string primitive\r\nconst strPrim2 = String(1); \/\/ Coerced into the string primitive \"1\"\r\nconst strPrim3 = String(true); \/\/ Coerced into the string primitive \"true\"\r\nconst strObj = new String(strPrim); \/\/ String with new returns a string wrapper object.\r\n\r\nconsole.log(typeof strPrim); \/\/ \"string\"\r\nconsole.log(typeof strPrim2); \/\/ \"string\"\r\nconsole.log(typeof strPrim3); \/\/ \"string\"\r\nconsole.log(typeof strObj); \/\/ \"object<\/code><\/pre>\n<\/div>\n<p>\u0631\u0634\u062a\u0647 \u0647\u0627\u06cc \u0627\u0628\u062a\u062f\u0627\u06cc\u06cc \u0648 \u0627\u0634\u06cc\u0627\u0621 \u0631\u0634\u062a\u0647 \u0646\u06cc\u0632 \u0646\u062a\u0627\u06cc\u062c \u0645\u062a\u0641\u0627\u0648\u062a\u06cc \u0631\u0627 \u0647\u0646\u06af\u0627\u0645 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 eval() \u0627\u0631\u0627\u0626\u0647 \u0645\u06cc \u062f\u0647\u0646\u062f. \u0628\u062f\u0648\u06cc \u0627\u0631\u0633\u0627\u0644 \u0634\u062f\u0647 \u0628\u0647 eval \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06a9\u062f \u0645\u0646\u0628\u0639 \u062a\u0644\u0642\u06cc \u0645\u06cc \u0634\u0648\u062f. \u0628\u0627 \u0628\u0631\u06af\u0631\u062f\u0627\u0646\u062f\u0646 \u0634\u06cc\u060c \u0628\u0627 \u0627\u0634\u06cc\u0627\u0621 \u0631\u0634\u062a\u0647 \u0627\u06cc \u0645\u0627\u0646\u0646\u062f \u0633\u0627\u06cc\u0631 \u0627\u0634\u06cc\u0627\u0621 \u0631\u0641\u062a\u0627\u0631 \u0645\u06cc \u0634\u0648\u062f. \u0645\u062b\u0644\u0627:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>const s1 = \"2 + 2\"; \/\/ creates a string primitive\r\nconst s2 = new String(\"2 + 2\"); \/\/ creates a String object\r\nconsole.log(eval(s1)); \/\/ returns the number 4\r\nconsole.log(eval(s2)); \/\/ returns the string \"2 + 2\"<\/code><\/pre>\n<\/div>\n<p>\u0628\u0647 \u0627\u06cc\u0646 \u062f\u0644\u0627\u06cc\u0644\u060c \u06a9\u062f \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0632\u0645\u0627\u0646\u06cc \u06a9\u0647 \u0628\u0627 \u0627\u0634\u06cc\u0627\u0621 \u0631\u0634\u062a\u0647\u200c\u0627\u06cc \u0645\u0648\u0627\u062c\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f \u0634\u06a9\u0633\u062a\u0647 \u0634\u0648\u062f\u060c \u062f\u0631 \u062d\u0627\u0644\u06cc \u06a9\u0647 \u0628\u0647 \u062c\u0627\u06cc \u0622\u0646 \u0627\u0646\u062a\u0638\u0627\u0631 \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u0627\u0628\u062a\u062f\u0627\u06cc\u06cc \u0631\u0627 \u062f\u0627\u0631\u062f\u060c \u0627\u06af\u0631\u0686\u0647 \u0628\u0647 \u0637\u0648\u0631 \u06a9\u0644\u06cc\u060c \u0646\u0648\u06cc\u0633\u0646\u062f\u06af\u0627\u0646 \u0646\u06cc\u0627\u0632\u06cc \u0628\u0647 \u0646\u06af\u0631\u0627\u0646\u06cc \u062f\u0631 \u0645\u0648\u0631\u062f \u062a\u0645\u0627\u06cc\u0632 \u0646\u062f\u0627\u0631\u0646\u062f.<\/p>\n<p>\u06cc\u06a9 \u0634\u06cc String \u0647\u0645\u06cc\u0634\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u062f \u0628\u0627 \u0645\u062a\u062f valueOf() \u0628\u0647 \u0647\u0645\u062a\u0627\u06cc \u0627\u0648\u0644\u06cc\u0647 \u062e\u0648\u062f \u062a\u0628\u062f\u06cc\u0644 \u0634\u0648\u062f.<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>console.log(eval(s2.valueOf())); \/\/ returns the number 4\r\n<\/code><\/pre>\n<\/div>\n<h2 id=\"%d8%a7%d8%ac%d8%a8%d8%a7%d8%b1-%d8%b1%d8%b4%d8%aa%d9%87\">\u0627\u062c\u0628\u0627\u0631 \u0631\u0634\u062a\u0647<\/h2>\n<p>\u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u0639\u0645\u0644\u06cc\u0627\u062a \u062f\u0627\u062e\u0644\u06cc \u06a9\u0647 \u0627\u0646\u062a\u0638\u0627\u0631 \u0631\u0634\u062a\u0647\u200c\u0647\u0627 \u0631\u0627 \u062f\u0627\u0631\u0646\u062f\u060c \u0627\u0628\u062a\u062f\u0627 \u0622\u0631\u06af\u0648\u0645\u0627\u0646\u200c\u0647\u0627\u06cc \u062e\u0648\u062f \u0631\u0627 \u0628\u0647 \u0631\u0634\u062a\u0647\u200c\u0647\u0627 \u062a\u062d\u0645\u06cc\u0644 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f (\u0628\u0647 \u0647\u0645\u06cc\u0646 \u062f\u0644\u06cc\u0644 \u0627\u0633\u062a \u06a9\u0647 \u0627\u0634\u06cc\u0627\u0621 String \u0634\u0628\u06cc\u0647 \u0628\u0647 \u0631\u0634\u062a\u0647\u200c\u0647\u0627\u06cc \u0627\u0648\u0644\u06cc\u0647 \u0631\u0641\u062a\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f). \u0639\u0645\u0644\u06cc\u0627\u062a \u0631\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646 \u0628\u0647 \u0635\u0648\u0631\u062a \u0632\u06cc\u0631 \u062e\u0644\u0627\u0635\u0647 \u06a9\u0631\u062f:<\/p>\n<ul>\n<li>\u0631\u0634\u062a\u0647 \u0647\u0627 \u0647\u0645\u0627\u0646\u0637\u0648\u0631 \u06a9\u0647 \u0647\u0633\u062a \u0628\u0631\u06af\u0631\u062f\u0627\u0646\u062f\u0647 \u0645\u06cc \u0634\u0648\u0646\u062f.<\/li>\n<li>\u062a\u0639\u0631\u06cc\u0641 \u0646\u0634\u062f\u0647 \u062a\u0628\u062f\u06cc\u0644 \u0628\u0647 &#8220;\u0646\u0627\u0645\u0634\u062e\u0635&#8221; \u0645\u06cc \u0634\u0648\u062f.<\/li>\n<li>null \u0628\u0647 &#8220;\u062a\u0647\u06cc&#8221; \u062a\u0628\u062f\u06cc\u0644 \u0645\u06cc \u0634\u0648\u062f.<\/li>\n<li>\u0648\u0627\u0642\u0639\u06cc \u0628\u0647 &#8220;\u0648\u0627\u0642\u0639\u06cc&#8221; \u062a\u0628\u062f\u06cc\u0644 \u0645\u06cc \u0634\u0648\u062f. \u0646\u0627\u062f\u0631\u0633\u062a \u0628\u0647 &#8220;\u06a9\u0627\u0630\u0628&#8221; \u062a\u0628\u062f\u06cc\u0644 \u0645\u06cc \u0634\u0648\u062f.<\/li>\n<li>\u0627\u0639\u062f\u0627\u062f \u0628\u0627 \u0647\u0645\u0627\u0646 \u0627\u0644\u06af\u0648\u0631\u06cc\u062a\u0645 toString (10) \u062a\u0628\u062f\u06cc\u0644 \u0645\u06cc \u0634\u0648\u0646\u062f.<\/li>\n<li>BigInts \u0628\u0627 \u0647\u0645\u0627\u0646 \u0627\u0644\u06af\u0648\u0631\u06cc\u062a\u0645 toString (10) \u062a\u0628\u062f\u06cc\u0644 \u0645\u06cc \u0634\u0648\u0646\u062f.<\/li>\n<li>\u0646\u0645\u0627\u062f\u0647\u0627 \u06cc\u06a9 TypeError \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc \u06a9\u0646\u0646\u062f.<\/li>\n<li>\u0627\u0634\u06cc\u0627\u0621 \u0627\u0628\u062a\u062f\u0627 \u0628\u0627 \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u0645\u062a\u062f\u0647\u0627\u06cc [Symbol.toPrimitive]() (\u0628\u0627 &#8220;string&#8221; \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0631\u0627\u0647\u0646\u0645\u0627\u06cc\u06cc)\u060c toString() \u0648 valueOf() \u0628\u0647 \u062a\u0631\u062a\u06cc\u0628 \u0628\u0647 \u06cc\u06a9 \u0627\u0648\u0644\u06cc\u0647 \u062a\u0628\u062f\u06cc\u0644 \u0645\u06cc \u0634\u0648\u0646\u062f. \u0633\u067e\u0633 \u0627\u0648\u0644\u06cc\u0647 \u0628\u0647 \u062f\u0633\u062a \u0622\u0645\u062f\u0647 \u0628\u0647 \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u062a\u0628\u062f\u06cc\u0644 \u0645\u06cc \u0634\u0648\u062f.<\/li>\n<\/ul>\n<p>\u0631\u0627\u0647 \u0647\u0627\u06cc \u0645\u062e\u062a\u0644\u0641\u06cc \u0628\u0631\u0627\u06cc \u062f\u0633\u062a\u06cc\u0627\u0628\u06cc \u0628\u0647 \u062a\u0623\u062b\u06cc\u0631 \u062a\u0642\u0631\u06cc\u0628\u0627\u064b \u06cc\u06a9\u0633\u0627\u0646 \u062f\u0631 \u062c\u0627\u0648\u0627 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f.<\/p>\n<ul>\n<li>\u0628\u0647 \u0645\u0639\u0646\u0627\u06cc \u0648\u0627\u0642\u0639\u06cc \u06a9\u0644\u0645\u0647: `${x}` \u062f\u0642\u06cc\u0642\u0627\u064b \u0645\u0631\u0627\u062d\u0644 \u0627\u062c\u0628\u0627\u0631\u06cc \u0631\u0634\u062a\u0647 \u0631\u0627 \u06a9\u0647 \u062f\u0631 \u0628\u0627\u0644\u0627 \u0628\u0631\u0627\u06cc \u0639\u0628\u0627\u0631\u062a \u062a\u0639\u0628\u06cc\u0647 \u0634\u062f\u0647 \u062a\u0648\u0636\u06cc\u062d \u062f\u0627\u062f\u0647 \u0634\u062f \u0627\u0646\u062c\u0627\u0645 \u0645\u06cc \u062f\u0647\u062f.<\/li>\n<li>\u062a\u0627\u0628\u0639 String(): String(x) \u0627\u0632 \u0647\u0645\u0627\u0646 \u0627\u0644\u06af\u0648\u0631\u06cc\u062a\u0645 \u0628\u0631\u0627\u06cc \u062a\u0628\u062f\u06cc\u0644 x \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc\u200c\u06a9\u0646\u062f\u060c \u0628\u0627 \u0627\u06cc\u0646 \u062a\u0641\u0627\u0648\u062a \u06a9\u0647 Symbols \u06cc\u06a9 TypeError \u0627\u06cc\u062c\u0627\u062f \u0646\u0645\u06cc\u200c\u06a9\u0646\u062f\u060c \u0627\u0645\u0627 &#8220;Symbol(description)&#8221; \u0631\u0627 \u0628\u0631\u0645\u06cc\u200c\u06af\u0631\u062f\u0627\u0646\u062f\u060c \u06a9\u0647 \u062f\u0631 \u0622\u0646 \u062a\u0648\u0636\u06cc\u062d\u0627\u062a \u0634\u0631\u062d \u0646\u0645\u0627\u062f \u0627\u0633\u062a.<\/li>\n<li>\u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u0639\u0645\u0644\u06af\u0631 +: &#8220;&#8221; + x \u0639\u0645\u0644\u0648\u0646\u062f \u062e\u0648\u062f \u0631\u0627 \u0628\u0647 \u062c\u0627\u06cc \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u0628\u0647 \u06cc\u06a9 \u0627\u0628\u062a\u062f\u0627\u06cc\u06cc \u0648\u0627\u062f\u0627\u0631 \u0645\u06cc \u06a9\u0646\u062f\u060c \u0648 \u0628\u0631\u0627\u06cc \u0628\u0631\u062e\u06cc \u0627\u0632 \u0627\u0634\u06cc\u0627\u060c \u0631\u0641\u062a\u0627\u0631\u0647\u0627\u06cc \u06a9\u0627\u0645\u0644\u0627\u064b \u0645\u062a\u0641\u0627\u0648\u062a\u06cc \u0628\u0627 \u0627\u062c\u0628\u0627\u0631 \u0631\u0634\u062a\u0647 \u0645\u0639\u0645\u0648\u0644\u06cc \u062f\u0627\u0631\u062f. \u0628\u0631\u0627\u06cc \u062c\u0632\u0626\u06cc\u0627\u062a \u0628\u06cc\u0634\u062a\u0631 \u0628\u0647 \u0635\u0641\u062d\u0647 \u0645\u0631\u062c\u0639 \u0622\u0646 \u0645\u0631\u0627\u062c\u0639\u0647 \u06a9\u0646\u06cc\u062f.<\/li>\n<\/ul>\n<p>\u0628\u0633\u062a\u0647 \u0628\u0647 \u0645\u0648\u0631\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0634\u0645\u0627\u060c \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u0628\u062e\u0648\u0627\u0647\u06cc\u062f \u0627\u0632 `${x}` (\u0628\u0631\u0627\u06cc \u062a\u0642\u0644\u06cc\u062f \u0631\u0641\u062a\u0627\u0631 \u062f\u0627\u062e\u0644\u06cc) \u06cc\u0627 String(x) (\u0628\u0631\u0627\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u0645\u0642\u0627\u062f\u06cc\u0631 \u0646\u0645\u0627\u062f\u0647\u0627 \u0628\u062f\u0648\u0646 \u0627\u06cc\u062c\u0627\u062f \u062e\u0637\u0627) \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f\u060c \u0627\u0645\u0627 \u0646\u0628\u0627\u06cc\u062f \u0627\u0632 &#8220;&#8221; + x \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u06a9\u0646\u06cc\u062f. .<\/p>\n<h2 id=\"%d9%86%d9%88%db%8c%d8%b3%d9%87%d9%87%d8%a7%db%8c-utf-16%d8%8c-%d9%86%d9%82%d8%a7%d8%b7-%da%a9%d8%af-%db%8c%d9%88%d9%86%db%8c%da%a9%d8%af-%d9%88-%d8%ae%d9%88%d8%b4%d9%87%d9%87%d8%a7\">\u0646\u0648\u06cc\u0633\u0647\u200c\u0647\u0627\u06cc UTF-16\u060c \u0646\u0642\u0627\u0637 \u06a9\u062f \u06cc\u0648\u0646\u06cc\u06a9\u062f \u0648 \u062e\u0648\u0634\u0647\u200c\u0647\u0627\u06cc \u06af\u0631\u0627\u0641\u06cc\u0645<\/h2>\n<p>\u0631\u0634\u062a\u0647 \u0647\u0627 \u0627\u0633\u0627\u0633\u0627\u064b \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u062f\u0646\u0628\u0627\u0644\u0647 \u0627\u06cc \u0627\u0632 \u0648\u0627\u062d\u062f\u0647\u0627\u06cc \u06a9\u062f UTF-16 \u0646\u0634\u0627\u0646 \u062f\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u0646\u062f. \u062f\u0631 \u0631\u0645\u0632\u06af\u0630\u0627\u0631\u06cc UTF-16\u060c \u0647\u0631 \u0648\u0627\u062d\u062f \u06a9\u062f \u062f\u0642\u06cc\u0642\u0627\u064b 16 \u0628\u06cc\u062a \u0637\u0648\u0644 \u062f\u0627\u0631\u062f. \u0627\u06cc\u0646 \u0628\u062f\u0627\u0646 \u0645\u0639\u0646\u0627\u0633\u062a \u06a9\u0647 \u062d\u062f\u0627\u06a9\u062b\u0631 216 \u06cc\u0627 65536 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 \u0645\u0645\u06a9\u0646 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0648\u0627\u062d\u062f \u06a9\u062f UTF-16 \u0645\u0646\u0641\u0631\u062f \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f. \u0627\u06cc\u0646 \u0645\u062c\u0645\u0648\u0639\u0647 \u0646\u0648\u06cc\u0633\u0647\u200c\u0647\u0627 \u0635\u0641\u062d\u0647 \u0686\u0646\u062f\u0632\u0628\u0627\u0646\u0647 \u0627\u0635\u0644\u06cc (BMP) \u0646\u0627\u0645\u06cc\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u062f \u0648 \u0634\u0627\u0645\u0644 \u0631\u0627\u06cc\u062c\u200c\u062a\u0631\u06cc\u0646 \u0646\u0648\u06cc\u0633\u0647\u200c\u0647\u0627 \u0645\u0627\u0646\u0646\u062f \u0627\u0644\u0641\u0628\u0627\u06cc \u0644\u0627\u062a\u06cc\u0646\u060c \u06cc\u0648\u0646\u0627\u0646\u06cc\u060c \u0633\u06cc\u0631\u06cc\u0644\u06cc\u06a9 \u0648 \u0647\u0645\u0686\u0646\u06cc\u0646 \u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u0646\u0648\u06cc\u0633\u0647\u200c\u0647\u0627\u06cc \u0622\u0633\u06cc\u0627\u06cc \u0634\u0631\u0642\u06cc \u0627\u0633\u062a. \u0647\u0631 \u0648\u0627\u062d\u062f \u06a9\u062f \u0631\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646 \u062f\u0631 \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u0628\u0627 \\u \u0648 \u0628\u0647 \u062f\u0646\u0628\u0627\u0644 \u0622\u0646 \u062f\u0642\u06cc\u0642\u0627\u064b \u0686\u0647\u0627\u0631 \u0631\u0642\u0645 \u0647\u06af\u0632 \u0646\u0648\u0634\u062a.<\/p>\n<p>\u0628\u0627 \u0627\u06cc\u0646 \u062d\u0627\u0644\u060c \u06a9\u0644 \u0645\u062c\u0645\u0648\u0639\u0647 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631\u0647\u0627\u06cc \u06cc\u0648\u0646\u06cc\u06a9\u062f \u0628\u0633\u06cc\u0627\u0631 \u0628\u0633\u06cc\u0627\u0631 \u0628\u0632\u0631\u06af\u062a\u0631 \u0627\u0632 65536 \u0627\u0633\u062a. \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631\u0647\u0627\u06cc \u0627\u0636\u0627\u0641\u06cc \u062f\u0631 UTF-16 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u062c\u0641\u062a \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u0630\u062e\u06cc\u0631\u0647 \u0645\u06cc \u0634\u0648\u0646\u062f\u060c \u06a9\u0647 \u062c\u0641\u062a \u0648\u0627\u062d\u062f\u0647\u0627\u06cc \u06a9\u062f 16 \u0628\u06cc\u062a\u06cc \u0647\u0633\u062a\u0646\u062f \u06a9\u0647 \u06cc\u06a9 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 \u0648\u0627\u062d\u062f \u0631\u0627 \u0646\u0634\u0627\u0646 \u0645\u06cc \u062f\u0647\u0646\u062f. \u0628\u0631\u0627\u06cc \u062c\u0644\u0648\u06af\u06cc\u0631\u06cc \u0627\u0632 \u0627\u0628\u0647\u0627\u0645\u060c \u062f\u0648 \u0642\u0633\u0645\u062a \u062c\u0641\u062a \u0628\u0627\u06cc\u062f \u0628\u06cc\u0646 0xD800 \u0648 0xDFFF \u0628\u0627\u0634\u0646\u062f \u0648 \u0627\u06cc\u0646 \u0648\u0627\u062d\u062f\u0647\u0627\u06cc \u06a9\u062f \u0628\u0631\u0627\u06cc \u0631\u0645\u0632\u06af\u0630\u0627\u0631\u06cc \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631\u0647\u0627\u06cc \u062a\u06a9 \u06a9\u062f \u0648\u0627\u062d\u062f \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0646\u0645\u06cc \u0634\u0648\u0646\u062f. (\u0628\u0647 \u0637\u0648\u0631 \u062f\u0642\u06cc\u0642\u200c\u062a\u0631\u060c \u062c\u0627\u0646\u0634\u06cc\u0646\u200c\u0647\u0627\u06cc \u067e\u06cc\u0634\u0631\u0648\u060c \u06a9\u0647 \u0648\u0627\u062d\u062f\u0647\u0627\u06cc \u06a9\u062f \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u0628\u0627\u0644\u0627 \u0646\u06cc\u0632 \u0646\u0627\u0645\u06cc\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f\u060c \u062f\u0627\u0631\u0627\u06cc \u0645\u0642\u0627\u062f\u06cc\u0631\u06cc \u0628\u06cc\u0646 0xD800 \u0648 0xDBFF \u0647\u0633\u062a\u0646\u062f\u060c \u062f\u0631 \u062d\u0627\u0644\u06cc \u06a9\u0647 \u062c\u0627\u0646\u0634\u06cc\u0646\u200c\u0647\u0627\u06cc \u0628\u0639\u062f\u06cc\u060c \u06a9\u0647 \u0648\u0627\u062d\u062f\u0647\u0627\u06cc \u06a9\u062f \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u067e\u0627\u06cc\u06cc\u0646 \u0646\u06cc\u0632 \u0646\u0627\u0645\u06cc\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f\u060c \u062f\u0627\u0631\u0627\u06cc \u0645\u0642\u0627\u062f\u06cc\u0631\u06cc \u0628\u06cc\u0646 0xDC00 \u0648 0xDFFF\u060c \u0634\u0627\u0645\u0644 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 Unic \u0647\u0633\u062a\u0646\u062f.) \u06a9\u0647 \u0627\u0632 \u06cc\u06a9 \u06cc\u0627 \u062f\u0648 \u0648\u0627\u062d\u062f \u06a9\u062f UTF-16 \u062a\u0634\u06a9\u06cc\u0644 \u0634\u062f\u0647 \u0627\u0633\u062a\u060c \u0646\u0642\u0637\u0647 \u06a9\u062f \u06cc\u0648\u0646\u06cc\u06a9\u062f \u0646\u06cc\u0632 \u0646\u0627\u0645\u06cc\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f. \u0647\u0631 \u0646\u0642\u0637\u0647 \u06a9\u062f \u06cc\u0648\u0646\u06cc\u06a9\u062f \u0631\u0627 \u0645\u06cc \u062a\u0648\u0627\u0646 \u062f\u0631 \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u0628\u0627 \\u{xxxxxx} \u0646\u0648\u0634\u062a \u06a9\u0647 xxxxxx \u0646\u0634\u0627\u0646 \u062f\u0647\u0646\u062f\u0647 1 \u062a\u0627 6 \u0631\u0642\u0645 \u0647\u06af\u0632\u0627\u0633\u062a.<\/p>\n<p>\u06cc\u06a9 &#8220;\u062c\u0627\u0646\u0634\u06cc\u0646 \u062a\u0646\u0647\u0627&#8221; \u06cc\u06a9 \u0648\u0627\u062d\u062f \u06a9\u062f 16 \u0628\u06cc\u062a\u06cc \u0627\u0633\u062a \u06a9\u0647 \u06cc\u06a9\u06cc \u0627\u0632 \u062a\u0648\u0636\u06cc\u062d\u0627\u062a \u0632\u06cc\u0631 \u0631\u0627 \u0628\u0631\u0622\u0648\u0631\u062f\u0647 \u0645\u06cc \u06a9\u0646\u062f:<\/p>\n<ul>\n<li>\u062f\u0631 \u0645\u062d\u062f\u0648\u062f\u0647 0xD800\u20130xDBFF\u060c \u0634\u0627\u0645\u0644 (\u06cc\u0639\u0646\u06cc \u062c\u0627\u0646\u0634\u06cc\u0646 \u067e\u06cc\u0634\u0631\u0648 \u0627\u0633\u062a)\u060c \u0627\u0645\u0627 \u0622\u062e\u0631\u06cc\u0646 \u0648\u0627\u062d\u062f \u06a9\u062f \u062f\u0631 \u0631\u0634\u062a\u0647 \u0627\u0633\u062a\u060c \u06cc\u0627 \u0648\u0627\u062d\u062f \u06a9\u062f \u0628\u0639\u062f\u06cc \u06cc\u06a9 \u062c\u0627\u0646\u0634\u06cc\u0646 \u0622\u062e\u0631 \u0646\u06cc\u0633\u062a.<\/li>\n<li>\u062f\u0631 \u0645\u062d\u062f\u0648\u062f\u0647 0xDC00\u20130xDFFF\u060c \u0634\u0627\u0645\u0644 (\u06cc\u0639\u0646\u06cc \u06cc\u06a9 \u062c\u0627\u0646\u0634\u06cc\u0646 \u0622\u062e\u0631 \u0627\u0633\u062a)\u060c \u0627\u0645\u0627 \u0627\u0648\u0644\u06cc\u0646 \u0648\u0627\u062d\u062f \u06a9\u062f \u062f\u0631 \u0631\u0634\u062a\u0647 \u0627\u0633\u062a\u060c \u06cc\u0627 \u0648\u0627\u062d\u062f \u06a9\u062f \u0642\u0628\u0644\u06cc \u062c\u0627\u0646\u0634\u06cc\u0646 \u0627\u0635\u0644\u06cc \u0646\u06cc\u0633\u062a.<\/li>\n<\/ul>\n<p>\u062c\u0627\u0646\u0634\u06cc\u0646 \u0647\u0627\u06cc \u062a\u0646\u0647\u0627 \u0646\u0634\u0627\u0646 \u062f\u0647\u0646\u062f\u0647 \u0647\u06cc\u0686 \u0634\u062e\u0635\u06cc\u062a \u06cc\u0648\u0646\u06cc\u06a9\u062f \u0646\u06cc\u0633\u062a\u0646\u062f. \u0627\u06af\u0631\u0686\u0647 \u0627\u06a9\u062b\u0631 \u0631\u0648\u0634\u200c\u0647\u0627\u06cc \u062c\u0627\u0648\u0627 \u0627\u0633\u06a9\u0631\u06cc\u067e\u062a \u062f\u0627\u062e\u0644\u06cc \u0622\u0646\u0647\u0627 \u0631\u0627 \u0628\u0647 \u062f\u0631\u0633\u062a\u06cc \u0645\u062f\u06cc\u0631\u06cc\u062a \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f\u060c \u0632\u06cc\u0631\u0627 \u0647\u0645\u0647 \u0622\u0646\u0647\u0627 \u0628\u0631 \u0627\u0633\u0627\u0633 \u0648\u0627\u062d\u062f\u0647\u0627\u06cc \u06a9\u062f UTF-16 \u06a9\u0627\u0631 \u0645\u06cc\u200c\u06a9\u0646\u0646\u062f\u060c \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646\u200c\u0647\u0627\u06cc \u062a\u0646\u0647\u0627 \u0647\u0646\u06af\u0627\u0645 \u062a\u0639\u0627\u0645\u0644 \u0628\u0627 \u0633\u06cc\u0633\u062a\u0645\u200c\u0647\u0627\u06cc \u062f\u06cc\u06af\u0631 \u0645\u0639\u0645\u0648\u0644\u0627\u064b \u0645\u0642\u0627\u062f\u06cc\u0631 \u0645\u0639\u062a\u0628\u0631\u06cc \u0646\u06cc\u0633\u062a\u0646\u062f &#8211; \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644\u060c encodeURI() \u06cc\u06a9 \u062e\u0637\u0627\u06cc URIE \u0631\u0627 \u0628\u0631\u0627\u06cc \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646\u200c\u0647\u0627\u06cc \u062a\u0646\u0647\u0627 \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc\u200c\u06a9\u0646\u062f\u060c \u0632\u06cc\u0631\u0627 \u0631\u0645\u0632\u06af\u0630\u0627\u0631\u06cc URI \u0627\u0632 \u0631\u0645\u0632\u06af\u0630\u0627\u0631\u06cc UTF-8 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u06a9\u0646\u062f \u06a9\u0647 \u0647\u06cc\u0686 \u06a9\u062f\u06af\u0630\u0627\u0631\u06cc \u0628\u0631\u0627\u06cc \u062c\u0627\u0646\u0634\u06cc\u0646\u0627\u0646 \u062a\u0646\u0647\u0627 \u0646\u062f\u0627\u0631\u062f. \u0631\u0634\u062a\u0647\u200c\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u062d\u0627\u0648\u06cc \u0647\u06cc\u0686 \u062c\u0627\u0646\u0634\u06cc\u0646 \u062a\u06a9\u06cc \u0646\u06cc\u0633\u062a\u0646\u062f\u060c \u0631\u0634\u062a\u0647\u200c\u0647\u0627\u06cc \u062e\u0648\u0634\u200c\u0634\u06a9\u0644\u06cc \u0646\u0627\u0645\u06cc\u062f\u0647 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f \u0648 \u0628\u0631\u0627\u06cc \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0628\u0627 \u062a\u0648\u0627\u0628\u0639\u06cc \u06a9\u0647 \u0628\u0627 UTF-16 \u0633\u0631\u0648\u06a9\u0627\u0631 \u0646\u062f\u0627\u0631\u0646\u062f (\u0645\u0627\u0646\u0646\u062f encodeURI() \u06cc\u0627 TextEncoder\u060c \u0628\u06cc\u200c\u062e\u0637\u0631 \u0647\u0633\u062a\u0646\u062f. \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0628\u0631\u0631\u0633\u06cc \u06a9\u0646\u06cc\u062f \u06a9\u0647 \u0622\u06cc\u0627 \u0631\u0634\u062a\u0647\u200c\u0627\u06cc \u0628\u0627 \u0645\u062a\u062f isWellFormed() \u0628\u0647 \u062e\u0648\u0628\u06cc \u0634\u06a9\u0644 \u06af\u0631\u0641\u062a\u0647 \u0627\u0633\u062a \u06cc\u0627 \u0627\u06cc\u0646\u06a9\u0647 \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646\u200c\u0647\u0627\u06cc \u062a\u0646\u0647\u0627 \u0631\u0627 \u0628\u0627 \u0645\u062a\u062f toWellFormed() \u067e\u0627\u06a9\u0633\u0627\u0632\u06cc \u06a9\u0646\u06cc\u062f.<\/p>\n<p>\u062f\u0631 \u0628\u0627\u0644\u0627\u06cc \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631\u0647\u0627\u06cc \u06cc\u0648\u0646\u06cc\u06a9\u062f\u060c \u062a\u0648\u0627\u0644\u06cc \u062e\u0627\u0635\u06cc \u0627\u0632 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631\u0647\u0627\u06cc \u06cc\u0648\u0646\u06cc\u06a9\u062f \u0648\u062c\u0648\u062f \u062f\u0627\u0631\u062f \u06a9\u0647 \u0628\u0627\u06cc\u062f \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u0648\u0627\u062d\u062f \u0628\u0635\u0631\u06cc \u062f\u0631 \u0646\u0638\u0631 \u06af\u0631\u0641\u062a\u0647 \u0634\u0648\u0646\u062f\u060c \u06a9\u0647 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u062e\u0648\u0634\u0647 \u06af\u0631\u0627\u0641\u06cc \u0634\u0646\u0627\u062e\u062a\u0647 \u0645\u06cc \u0634\u0648\u062f. \u0631\u0627\u06cc\u062c\u200c\u062a\u0631\u06cc\u0646 \u0645\u0648\u0631\u062f\u060c \u0634\u06a9\u0644\u06a9\u200c\u0647\u0627 \u0647\u0633\u062a\u0646\u062f: \u0628\u0633\u06cc\u0627\u0631\u06cc \u0627\u0632 \u0634\u06a9\u0644\u06a9\u200c\u0647\u0627 \u06a9\u0647 \u062f\u0627\u0631\u0627\u06cc \u0637\u06cc\u0641 \u0648\u0633\u06cc\u0639\u06cc \u0627\u0632 \u062a\u063a\u06cc\u06cc\u0631\u0627\u062a \u0647\u0633\u062a\u0646\u062f\u060c \u062f\u0631 \u0648\u0627\u0642\u0639 \u062a\u0648\u0633\u0637 \u0627\u06cc\u0645\u0648\u062c\u06cc\u200c\u0647\u0627\u06cc \u0645\u062a\u0639\u062f\u062f\u06cc \u062a\u0634\u06a9\u06cc\u0644 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f \u06a9\u0647 \u0645\u0639\u0645\u0648\u0644\u0627\u064b \u0628\u0627 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 &lt;ZWJ&gt; (U+200D) \u0628\u0647 \u0647\u0645 \u0645\u06cc\u200c\u067e\u06cc\u0648\u0646\u062f\u0646\u062f.<\/p>\n<p>\u0634\u0645\u0627 \u0628\u0627\u06cc\u062f \u0645\u0631\u0627\u0642\u0628 \u0628\u0627\u0634\u06cc\u062f \u06a9\u0647 \u062f\u0631 \u06a9\u062f\u0627\u0645 \u0633\u0637\u062d \u0627\u0632 \u0634\u062e\u0635\u06cc\u062a \u0647\u0627 \u062a\u06a9\u0631\u0627\u0631 \u0645\u06cc \u06a9\u0646\u06cc\u062f. \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u062b\u0627\u0644\u060c split(&#8220;&#8221;) \u062a\u0648\u0633\u0637 \u0648\u0627\u062d\u062f\u0647\u0627\u06cc \u06a9\u062f UTF-16 \u062a\u0642\u0633\u06cc\u0645 \u0645\u06cc \u0634\u0648\u062f \u0648 \u062c\u0641\u062a \u0647\u0627\u06cc \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u0631\u0627 \u0627\u0632 \u0647\u0645 \u062c\u062f\u0627 \u0645\u06cc \u06a9\u0646\u062f. \u0634\u0627\u062e\u0635\u200c\u0647\u0627\u06cc \u0631\u0634\u062a\u0647\u200c\u0627\u06cc \u0646\u06cc\u0632 \u0628\u0647 \u0634\u0627\u062e\u0635 \u0647\u0631 \u0648\u0627\u062d\u062f \u06a9\u062f UTF-16 \u0627\u0634\u0627\u0631\u0647 \u062f\u0627\u0631\u062f. \u0627\u0632 \u0633\u0648\u06cc \u062f\u06cc\u06af\u0631\u060c [Symbol.iterator]() \u062a\u0648\u0633\u0637 \u0646\u0642\u0627\u0637 \u06a9\u062f \u06cc\u0648\u0646\u06cc\u06a9\u062f \u062a\u06a9\u0631\u0627\u0631 \u0645\u06cc \u0634\u0648\u062f. \u062a\u06a9\u0631\u0627\u0631 \u0627\u0632 \u0637\u0631\u06cc\u0642 \u062e\u0648\u0634\u0647\u200c\u0647\u0627\u06cc grapheme \u0628\u0647 \u06a9\u062f \u0633\u0641\u0627\u0631\u0634\u06cc \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u062f.<\/p>\n<div class=\"hcb_wrap\">\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>\"\ud83d\ude04\".split(\"\"); \/\/ ['\\ud83d', '\\ude04']; splits into two lone surrogates\r\n\/\/ \"Backhand Index Pointing Right: Dark Skin Tone\"\r\n[...\"\ud83d\udc49\ud83c\udfff\"]; \/\/ ['\ud83d\udc49', '\ud83c\udfff']\r\n\/\/ splits into the basic \"Backhand Index Pointing Right\" emoji and\r\n\/\/ the \"Dark skin tone\" emoji\r\n\/\/ \"Family: Man, Boy\"\r\n[...\"\ud83d\udc68\u200d\ud83d\udc66\"]; \/\/ [ '\ud83d\udc68', '\u200d', '\ud83d\udc66' ]\r\n\/\/ splits into the \"Man\" and \"Boy\" emoji, joined by a ZWJ\r\n\/\/ The United Nations flag\r\n[...\"\ud83c\uddfa\ud83c\uddf3\"]; \/\/ [ '\ud83c\uddfa', '\ud83c\uddf3' ]\r\n\/\/ splits into two \"region indicator\" letters \"U\" and \"N\".\r\n\/\/ All flag emojis are formed by joining two region indicator letters<\/code><\/pre>\n<\/div>\n<\/div>\n<h2 id=\"constractor\">Constractor<\/h2>\n<h5 id=\"%d8%b1%d8%b4%d8%aa%d9%87\">\u0631\u0634\u062a\u0647 ()<\/h5>\n<p>\u0627\u0634\u06cc\u0627\u0621 \u0631\u0634\u062a\u0647 \u0627\u06cc \u0631\u0627 \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc \u06a9\u0646\u062f. \u0647\u0646\u06af\u0627\u0645\u06cc \u06a9\u0647 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u06cc\u06a9 \u062a\u0627\u0628\u0639 \u0641\u0631\u0627\u062e\u0648\u0627\u0646\u06cc \u0645\u06cc \u0634\u0648\u062f\u060c \u0645\u0642\u0627\u062f\u06cc\u0631 \u0627\u0648\u0644\u06cc\u0647 \u0627\u0632 \u0646\u0648\u0639 String \u0631\u0627 \u0628\u0631\u0645\u06cc \u06af\u0631\u062f\u0627\u0646\u062f.<\/p>\n<h2 id=\"%d8%b1%d9%88%d8%b4-%d9%87%d8%a7%db%8c-%d8%a7%d8%b3%d8%aa%d8%a7%d8%aa%db%8c%da%a9\">\u0631\u0648\u0634 \u0647\u0627\u06cc \u0627\u0633\u062a\u0627\u062a\u06cc\u06a9<\/h2>\n<h5 id=\"string-fromcharcode\">String.fromCharCode()<\/h5>\n<p>\u0631\u0634\u062a\u0647 \u0627\u06cc \u0631\u0627 \u06a9\u0647 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062a\u0648\u0627\u0644\u06cc \u0645\u0634\u062e\u0635 \u0634\u062f\u0647 \u0627\u0632 \u0645\u0642\u0627\u062f\u06cc\u0631 \u06cc\u0648\u0646\u06cc\u06a9\u062f \u0627\u06cc\u062c\u0627\u062f \u0634\u062f\u0647 \u0627\u0633\u062a\u060c \u0628\u0631\u0645\u06cc \u06af\u0631\u062f\u0627\u0646\u062f.<\/p>\n<h5 id=\"string-fromcodepoint\">String.fromCodePoint()<\/h5>\n<p>\u06cc\u06a9 \u0631\u0634\u062a\u0647 \u0627\u06cc\u062c\u0627\u062f \u0634\u062f\u0647 \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 \u062f\u0646\u0628\u0627\u0644\u0647 \u0645\u0634\u062e\u0635 \u0634\u062f\u0647 \u0627\u0632 \u0646\u0642\u0627\u0637 \u06a9\u062f \u0631\u0627 \u0628\u0631\u0645\u06cc \u06af\u0631\u062f\u0627\u0646\u062f.<\/p>\n<h5 id=\"string-raw\">String.raw()<\/h5>\n<p>\u06cc\u06a9 \u0631\u0634\u062a\u0647 \u0627\u06cc\u062c\u0627\u062f \u0634\u062f\u0647 \u0627\u0632 \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u0627\u0644\u06af\u0648\u06cc \u062e\u0627\u0645 \u0631\u0627 \u0628\u0631\u0645\u06cc \u06af\u0631\u062f\u0627\u0646\u062f.<\/p>\n<h2 id=\"%d8%ae%d9%88%d8%a7%d8%b5-%d9%86%d9%85%d9%88%d9%86%d9%87\">\u062e\u0648\u0627\u0635 \u0646\u0645\u0648\u0646\u0647<\/h2>\n<p>\u0627\u06cc\u0646 \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627 \u062f\u0631 String.prototype \u062a\u0639\u0631\u06cc\u0641 \u0634\u062f\u0647 \u0648 \u062a\u0648\u0633\u0637 \u062a\u0645\u0627\u0645 \u0646\u0645\u0648\u0646\u0647 \u0647\u0627\u06cc String \u0628\u0647 \u0627\u0634\u062a\u0631\u0627\u06a9 \u06af\u0630\u0627\u0634\u062a\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a.<\/p>\n<h5 id=\"string-prototype-constructor\">String.prototype.constructor<\/h5>\n<p>\u062a\u0627\u0628\u0639 \u0633\u0627\u0632\u0646\u062f\u0647 \u06a9\u0647 \u0634\u06cc \u0646\u0645\u0648\u0646\u0647 \u0631\u0627 \u0627\u06cc\u062c\u0627\u062f \u0645\u06cc \u06a9\u0646\u062f. \u0628\u0631\u0627\u06cc \u0646\u0645\u0648\u0646\u0647 \u0647\u0627\u06cc \u0631\u0634\u062a\u0647\u060c \u0645\u0642\u062f\u0627\u0631 \u0627\u0648\u0644\u06cc\u0647 \u0633\u0627\u0632\u0646\u062f\u0647 \u0631\u0634\u062a\u0647 \u0627\u0633\u062a.<\/p>\n<p>\u0627\u06cc\u0646 \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627 \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc \u062e\u0627\u0635 \u0647\u0631 \u0646\u0645\u0648\u0646\u0647 \u0631\u0634\u062a\u0647 \u0647\u0633\u062a\u0646\u062f.<\/p>\n<h5 id=\"lenght\">lenght<\/h5>\n<p>\u0637\u0648\u0644 \u0631\u0634\u062a\u0647 \u0631\u0627 \u0645\u0646\u0639\u06a9\u0633 \u0645\u06cc \u06a9\u0646\u062f. \u0641\u0642\u0637 \u062e\u0648\u0627\u0646\u062f\u0646\u06cc.<\/p>\n<h2 id=\"%d8%b1%d9%88%d8%b4-%d9%87%d8%a7%db%8c-%d9%86%d9%85%d9%88%d9%86%d9%87\">\u0631\u0648\u0634 \u0647\u0627\u06cc \u0646\u0645\u0648\u0646\u0647<\/h2>\n<h5 id=\"string-prototype-at\">String.prototype.at()<\/h5>\n<p>\u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 (\u062f\u0642\u06cc\u0642\u0627\u064b \u06cc\u06a9 \u0648\u0627\u062d\u062f \u06a9\u062f UTF-16) \u0631\u0627 \u062f\u0631 \u0646\u0645\u0627\u06cc\u0647 \u0645\u0634\u062e\u0635 \u0634\u062f\u0647 \u0628\u0631\u0645\u06cc\u200c\u06af\u0631\u062f\u0627\u0646\u062f. \u0627\u0639\u062f\u0627\u062f \u0635\u062d\u06cc\u062d \u0645\u0646\u0641\u06cc \u0631\u0627 \u0645\u06cc \u067e\u0630\u06cc\u0631\u062f \u06a9\u0647 \u0627\u0632 \u0622\u062e\u0631\u06cc\u0646 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 \u0631\u0634\u062a\u0647 \u0628\u0647 \u0639\u0642\u0628 \u0645\u06cc \u0634\u0645\u0627\u0631\u0646\u062f.<\/p>\n<h5 id=\"string-prototype-charat\">String.prototype.charAt()<\/h5>\n<p>\u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 (\u062f\u0642\u06cc\u0642\u0627\u064b \u06cc\u06a9 \u0648\u0627\u062d\u062f \u06a9\u062f UTF-16) \u0631\u0627 \u062f\u0631 \u0646\u0645\u0627\u06cc\u0647 \u0645\u0634\u062e\u0635 \u0634\u062f\u0647 \u0628\u0631\u0645\u06cc\u200c\u06af\u0631\u062f\u0627\u0646\u062f.<\/p>\n<h5 id=\"string-prototype-charcodeat\">String.prototype.charCodeAt()<\/h5>\n<p>\u0639\u062f\u062f\u06cc \u0631\u0627 \u0628\u0631\u0645\u06cc\u200c\u06af\u0631\u062f\u0627\u0646\u062f \u06a9\u0647 \u0645\u0642\u062f\u0627\u0631 \u0648\u0627\u062d\u062f \u06a9\u062f UTF-16 \u062f\u0631 \u0634\u0627\u062e\u0635 \u062f\u0627\u062f\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a.<\/p>\n<h5 id=\"string-prototype-codepointat\">String.prototype.codePointAt()<\/h5>\n<p>\u06cc\u06a9 \u0639\u062f\u062f \u0635\u062d\u06cc\u062d \u063a\u06cc\u0631\u0645\u0646\u0641\u06cc \u0631\u0627 \u0628\u0631\u0645\u06cc\u200c\u06af\u0631\u062f\u0627\u0646\u062f \u06a9\u0647 \u0645\u0642\u062f\u0627\u0631 \u0646\u0642\u0637\u0647 \u06a9\u062f \u0646\u0642\u0637\u0647 \u06a9\u062f \u06a9\u062f\u06af\u0630\u0627\u0631\u06cc \u0634\u062f\u0647 UTF-16 \u0627\u0633\u062a \u06a9\u0647 \u0627\u0632 \u067e\u0648\u0632 \u0645\u0634\u062e\u0635 \u0634\u062f\u0647 \u0634\u0631\u0648\u0639 \u0645\u06cc\u200c\u0634\u0648\u062f.<\/p>\n<h5 id=\"string-prototype-concat\">String.prototype.concat()<\/h5>\n<p>\u0645\u062a\u0646 \u062f\u0648 (\u06cc\u0627 \u0686\u0646\u062f) \u0631\u0634\u062a\u0647 \u0631\u0627 \u062a\u0631\u06a9\u06cc\u0628 \u0645\u06cc \u06a9\u0646\u062f \u0648 \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u062c\u062f\u06cc\u062f \u0628\u0631\u0645\u06cc \u06af\u0631\u062f\u0627\u0646\u062f.<\/p>\n<h5 id=\"string-prototype-endswith\">String.prototype.endsWith()<\/h5>\n<p>\u062a\u0639\u06cc\u06cc\u0646 \u0645\u06cc \u06a9\u0646\u062f \u06a9\u0647 \u0622\u06cc\u0627 \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u0628\u0647 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631\u0647\u0627\u06cc \u0631\u0634\u062a\u0647 searchString \u062e\u062a\u0645 \u0645\u06cc \u0634\u0648\u062f \u06cc\u0627 \u062e\u06cc\u0631.<\/p>\n<h5 id=\"string-prototype-includes\">String.prototype.includes()<\/h5>\n<p>\u062a\u0639\u06cc\u06cc\u0646 \u0645\u06cc \u06a9\u0646\u062f \u06a9\u0647 \u0622\u06cc\u0627 \u0631\u0634\u062a\u0647 \u0641\u0631\u0627\u062e\u0648\u0627\u0646 \u062d\u0627\u0648\u06cc SearchString \u0627\u0633\u062a \u06cc\u0627 \u062e\u06cc\u0631.<\/p>\n<h5 id=\"string-prototype-indexof\">String.prototype.indexOf()<\/h5>\n<p>\u0627\u06cc\u0646\u062f\u06a9\u0633 \u0631\u0627 \u062f\u0631 \u0627\u06cc\u0646 \u0631\u0634\u062a\u0647 \u0627\u0632 \u0627\u0648\u0644\u06cc\u0646 \u0631\u062e\u062f\u0627\u062f searchValue \u06cc\u0627 -1 \u062f\u0631 \u0635\u0648\u0631\u062a \u06cc\u0627\u0641\u062a \u0646\u0634\u062f\u0646 \u0628\u0631\u0645\u06cc\u200c\u06af\u0631\u062f\u0627\u0646\u062f.<\/p>\n<h5 id=\"string-prototype-iswellformed\">String.prototype.isWellFormed()<\/h5>\n<p>\u06cc\u06a9 \u0628\u0648\u0644\u06cc \u0631\u0627 \u0628\u0631\u0645\u06cc\u200c\u06af\u0631\u062f\u0627\u0646\u062f \u06a9\u0647 \u0646\u0634\u0627\u0646 \u0645\u06cc\u200c\u062f\u0647\u062f \u0622\u06cc\u0627 \u0627\u06cc\u0646 \u0631\u0634\u062a\u0647 \u062f\u0627\u0631\u0627\u06cc \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646\u200c\u0647\u0627\u06cc \u062a\u06a9\u06cc \u0627\u0633\u062a \u06cc\u0627 \u062e\u06cc\u0631.<\/p>\n<h5 id=\"string-prototype-lastindexof\">String.prototype.lastIndexOf()<\/h5>\n<p>\u0627\u06cc\u0646\u062f\u06a9\u0633 \u0631\u0627 \u062f\u0631 \u0627\u06cc\u0646 \u0631\u0634\u062a\u0647 \u0627\u0632 \u0622\u062e\u0631\u06cc\u0646 \u0631\u062e\u062f\u0627\u062f searchValue \u06cc\u0627 -1 \u062f\u0631 \u0635\u0648\u0631\u062a \u06cc\u0627\u0641\u062a \u0646\u0634\u062f\u0646 \u0628\u0631\u0645\u06cc\u200c\u06af\u0631\u062f\u0627\u0646\u062f.<\/p>\n<h5 id=\"string-prototype-localecompare\">String.prototype.localeCompare()<\/h5>\n<p>\u0639\u062f\u062f\u06cc \u0631\u0627 \u0628\u0631\u0645\u06cc\u200c\u06af\u0631\u062f\u0627\u0646\u062f \u06a9\u0647 \u0646\u0634\u0627\u0646 \u0645\u06cc\u200c\u062f\u0647\u062f \u0622\u06cc\u0627 \u0631\u0634\u062a\u0647 \u0645\u0631\u062c\u0639 compareString \u0628\u0647 \u062a\u0631\u062a\u06cc\u0628 \u0645\u0631\u062a\u0628\u200c\u0633\u0627\u0632\u06cc \u0642\u0628\u0644\u060c \u0628\u0639\u062f \u06cc\u0627 \u0645\u0639\u0627\u062f\u0644 \u0631\u0634\u062a\u0647 \u062f\u0627\u062f\u0647 \u0634\u062f\u0647 \u0627\u0633\u062a.<\/p>\n<h5 id=\"string-prototype-match\" style=\"text-align: right;\">String.prototype.match()<\/h5>\n<p>\u0628\u0631\u0627\u06cc \u062a\u0637\u0628\u06cc\u0642 \u0639\u0628\u0627\u0631\u062a \u0645\u0646\u0638\u0645 regexp \u062f\u0631 \u0628\u0631\u0627\u0628\u0631 \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f.<\/p>\n<h5 id=\"string-prototype-matchall\">String.prototype.matchAll()<\/h5>\n<p>\u06cc\u06a9 \u062a\u06a9\u0631\u0627\u0631 \u06a9\u0646\u0646\u062f\u0647 \u0627\u0632 \u0647\u0645\u0647 \u0645\u0637\u0627\u0628\u0642\u062a \u0647\u0627\u06cc regexp \u0631\u0627 \u0628\u0631\u0645\u06cc \u06af\u0631\u062f\u0627\u0646\u062f.<\/p>\n<h5 id=\"string-prototype-normalize\">String.prototype.normalize()<\/h5>\n<p>\u0641\u0631\u0645 \u0639\u0627\u062f\u06cc \u0633\u0627\u0632\u06cc \u06cc\u0648\u0646\u06cc\u06a9\u062f \u0645\u0642\u062f\u0627\u0631 \u0631\u0634\u062a\u0647 \u0641\u0631\u0627\u062e\u0648\u0627\u0646 \u0631\u0627 \u0628\u0631\u0645\u06cc \u06af\u0631\u062f\u0627\u0646\u062f.<\/p>\n<h5 id=\"string-prototype-padend\">String.prototype.padEnd()<\/h5>\n<p>\u0631\u0634\u062a\u0647 \u0641\u0639\u0644\u06cc \u0631\u0627 \u0627\u0632 \u0627\u0646\u062a\u0647\u0627 \u0628\u0627 \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u0645\u0634\u062e\u0635 \u0645\u06cc\u200c\u06a9\u0646\u062f \u0648 \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u062c\u062f\u06cc\u062f \u0628\u0647 \u0637\u0648\u0644 targetLength \u0631\u0627 \u0628\u0631\u0645\u06cc\u200c\u06af\u0631\u062f\u0627\u0646\u062f.<\/p>\n<h5 id=\"string-prototype-padstart\">String.prototype.padStart()<\/h5>\n<p>\u0631\u0634\u062a\u0647 \u0641\u0639\u0644\u06cc \u0631\u0627 \u0627\u0632 \u0627\u0628\u062a\u062f\u0627 \u0628\u0627 \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u062f\u0627\u062f\u0647 \u0634\u062f\u0647 \u067e\u062f \u0645\u06cc \u06a9\u0646\u062f \u0648 \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u062c\u062f\u06cc\u062f \u0628\u0647 \u0637\u0648\u0644 targetLength \u0631\u0627 \u0628\u0631\u0645\u06cc \u06af\u0631\u062f\u0627\u0646\u062f.<\/p>\n<h5 id=\"string-prototype-repeat\">String.prototype.repeat()<\/h5>\n<p>\u0631\u0634\u062a\u0647 \u0627\u06cc \u0645\u062a\u0634\u06a9\u0644 \u0627\u0632 \u0639\u0646\u0627\u0635\u0631 \u0634\u06cc\u0621 \u0631\u0627 \u06a9\u0647 \u0628\u0627\u0631\u0647\u0627 \u0634\u0645\u0627\u0631\u0634 \u0634\u062f\u0647 \u0627\u0633\u062a \u0628\u0631\u0645\u06cc \u06af\u0631\u062f\u0627\u0646\u062f.<\/p>\n<h5 id=\"string-prototype-replace\">String.prototype.replace()<\/h5>\n<p>\u0628\u0631\u0627\u06cc \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646\u06cc \u0645\u0648\u0627\u0631\u062f SearchFor \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 replaceWith \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f. searchFor \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u06cc\u0627 \u0639\u0628\u0627\u0631\u062a \u0645\u0646\u0638\u0645 \u0628\u0627\u0634\u062f\u060c \u0648 replaceWith \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u06cc\u0627 \u062a\u0627\u0628\u0639 \u0628\u0627\u0634\u062f.<\/p>\n<h5 id=\"string-prototype-replaceall\">String.prototype.replaceAll()<\/h5>\n<p>\u0628\u0631\u0627\u06cc \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646\u06cc \u0647\u0645\u0647 \u0645\u0648\u0627\u0631\u062f SearchFor \u0628\u0627 \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0627\u0632 replaceWith \u0627\u0633\u062a\u0641\u0627\u062f\u0647 \u0645\u06cc \u0634\u0648\u062f. searchFor \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u06cc\u0627 \u0639\u0628\u0627\u0631\u062a \u0645\u0646\u0638\u0645 \u0628\u0627\u0634\u062f\u060c \u0648 replaceWith \u0645\u0645\u06a9\u0646 \u0627\u0633\u062a \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u06cc\u0627 \u062a\u0627\u0628\u0639 \u0628\u0627\u0634\u062f.<\/p>\n<h5 id=\"string-prototype-search\">String.prototype.search()<\/h5>\n<p>\u0628\u0631\u0627\u06cc \u062a\u0637\u0627\u0628\u0642 \u0628\u06cc\u0646 \u06cc\u06a9 \u0639\u0628\u0627\u0631\u062a \u0645\u0646\u0638\u0645 regexp \u0648 \u0631\u0634\u062a\u0647 \u0641\u0631\u0627\u062e\u0648\u0627\u0646 \u062c\u0633\u062a\u062c\u0648 \u06a9\u0646\u06cc\u062f.<\/p>\n<h5 id=\"string-prototype-slice\">String.prototype.slice()<\/h5>\n<p>\u0628\u062e\u0634\u06cc \u0627\u0632 \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u0631\u0627 \u0627\u0633\u062a\u062e\u0631\u0627\u062c \u0645\u06cc \u06a9\u0646\u062f \u0648 \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u062c\u062f\u06cc\u062f \u0631\u0627 \u0628\u0631\u0645\u06cc \u06af\u0631\u062f\u0627\u0646\u062f.<\/p>\n<h5 id=\"string-prototype-split\">String.prototype.split()<\/h5>\n<p>\u0622\u0631\u0627\u06cc\u0647 \u0627\u06cc \u0627\u0632 \u0631\u0634\u062a\u0647 \u0647\u0627 \u0631\u0627 \u0628\u0631\u0645\u06cc \u06af\u0631\u062f\u0627\u0646\u062f \u06a9\u0647 \u0628\u0627 \u062a\u0642\u0633\u06cc\u0645 \u0631\u0634\u062a\u0647 \u0641\u0631\u0627\u062e\u0648\u0627\u0646 \u062f\u0631 \u0645\u0648\u0627\u0631\u062f \u0632\u06cc\u0631 \u0631\u0634\u062a\u0647 sep \u067e\u0631 \u0634\u062f\u0647 \u0627\u0646\u062f.<\/p>\n<h5 id=\"string-prototype-startswith\">String.prototype.startsWith()<\/h5>\n<p>\u062a\u0639\u06cc\u06cc\u0646 \u0645\u06cc \u06a9\u0646\u062f \u06a9\u0647 \u0622\u06cc\u0627 \u0631\u0634\u062a\u0647 \u0641\u0631\u0627\u062e\u0648\u0627\u0646 \u0628\u0627 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631\u0647\u0627\u06cc \u0631\u0634\u062a\u0647 searchString \u0634\u0631\u0648\u0639 \u0645\u06cc \u0634\u0648\u062f \u06cc\u0627 \u062e\u06cc\u0631.<\/p>\n<h5 id=\"string-prototype-substr-%d9%85%d9%86%d8%b3%d9%88%d8%ae-%d8%b4%d8%af%d9%87-%d8%a7%d8%b3%d8%aa\">String.prototype.substr() \u0645\u0646\u0633\u0648\u062e \u0634\u062f\u0647 \u0627\u0633\u062a<\/h5>\n<p>\u0628\u062e\u0634\u06cc \u0627\u0632 \u0631\u0634\u062a\u0647 \u0631\u0627 \u0628\u0631\u0645\u06cc\u200c\u06af\u0631\u062f\u0627\u0646\u062f \u06a9\u0647 \u0627\u0632 \u0634\u0627\u062e\u0635 \u0645\u0634\u062e\u0635 \u0634\u062f\u0647 \u0634\u0631\u0648\u0639 \u0645\u06cc\u200c\u0634\u0648\u062f \u0648 \u067e\u0633 \u0627\u0632 \u0622\u0646 \u0628\u0631\u0627\u06cc \u062a\u0639\u062f\u0627\u062f \u0645\u0639\u06cc\u0646\u06cc \u0627\u0632 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631\u0647\u0627 \u06af\u0633\u062a\u0631\u0634 \u0645\u06cc\u200c\u06cc\u0627\u0628\u062f.<\/p>\n<h5 id=\"string-prototype-substring\">String.prototype.substring()<\/h5>\n<p>\u06cc\u06a9 \u0631\u0634\u062a\u0647 \u062c\u062f\u06cc\u062f \u062d\u0627\u0648\u06cc \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631\u0647\u0627\u06cc \u0631\u0634\u062a\u0647 \u0641\u0631\u0627\u062e\u0648\u0627\u0646 \u0627\u0632 (\u06cc\u0627 \u0628\u06cc\u0646) \u0627\u06cc\u0646\u062f\u06a9\u0633 (\u06cc\u0627 \u0634\u0627\u062e\u0635) \u0645\u0634\u062e\u0635 \u0634\u062f\u0647 \u0631\u0627 \u0628\u0631\u0645\u06cc \u06af\u0631\u062f\u0627\u0646\u062f.<\/p>\n<h5 id=\"string-prototype-tolocalelowercase\">String.prototype.toLocaleLowerCase()<\/h5>\n<p>\u06a9\u0627\u0631\u0627\u06a9\u062a\u0631\u0647\u0627\u06cc \u062f\u0631\u0648\u0646 \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u062f\u0631 \u062d\u0627\u0644\u06cc \u06a9\u0647 \u0628\u0647 \u0645\u062d\u0644\u06cc \u0641\u0639\u0644\u06cc \u0627\u062d\u062a\u0631\u0627\u0645 \u0645\u06cc \u06af\u0630\u0627\u0631\u0646\u062f \u0628\u0647 \u062d\u0631\u0648\u0641 \u06a9\u0648\u0686\u06a9 \u062a\u0628\u062f\u06cc\u0644 \u0645\u06cc \u0634\u0648\u0646\u062f.<\/p>\n<p>\u0628\u0631\u0627\u06cc \u0627\u06a9\u062b\u0631 \u0632\u0628\u0627\u0646\u200c\u0647\u0627\u060c \u0627\u06cc\u0646 \u0647\u0645\u0627\u0646 \u062d\u0627\u0644\u062a ()toLowerCase \u0631\u0627 \u0628\u0631\u0645\u06cc\u200c\u06af\u0631\u062f\u0627\u0646\u062f.<\/p>\n<h5 id=\"string-prototype-tolocaleuppercase\">String.prototype.toLocaleUpperCase()<\/h5>\n<p>\u06a9\u0627\u0631\u0627\u06a9\u062a\u0631\u0647\u0627\u06cc \u062f\u0631\u0648\u0646 \u06cc\u06a9 \u0631\u0634\u062a\u0647 \u062f\u0631 \u062d\u0627\u0644\u06cc \u06a9\u0647 \u0628\u0647 \u0645\u062d\u0644\u06cc \u0641\u0639\u0644\u06cc \u0627\u062d\u062a\u0631\u0627\u0645 \u0645\u06cc \u06af\u0630\u0627\u0631\u0646\u062f \u0628\u0647 \u062d\u0631\u0648\u0641 \u0628\u0632\u0631\u06af \u062a\u0628\u062f\u06cc\u0644 \u0645\u06cc \u0634\u0648\u0646\u062f.<\/p>\n<p>\u0628\u0631\u0627\u06cc \u0627\u06a9\u062b\u0631 \u0632\u0628\u0627\u0646\u200c\u0647\u0627\u060c \u0627\u06cc\u0646 \u0647\u0645\u0627\u0646 \u062d\u0627\u0644\u062a ()toUpperCase \u0631\u0627 \u0628\u0631\u0645\u06cc\u200c\u06af\u0631\u062f\u0627\u0646\u062f.<\/p>\n<h5 id=\"string-prototype-tolowercase\">String.prototype.toLowerCase()<\/h5>\n<p>\u0645\u0642\u062f\u0627\u0631 \u0631\u0634\u062a\u0647 \u0641\u0631\u0627\u062e\u0648\u0627\u0646 \u062a\u0628\u062f\u06cc\u0644 \u0634\u062f\u0647 \u0628\u0647 \u062d\u0631\u0648\u0641 \u06a9\u0648\u0686\u06a9 \u0631\u0627 \u0628\u0631\u0645\u06cc \u06af\u0631\u062f\u0627\u0646\u062f.<\/p>\n<h5 id=\"string-prototype-tostring\">String.prototype.toString()<\/h5>\n<p>\u0631\u0634\u062a\u0647 \u0627\u06cc \u0631\u0627 \u0628\u0631\u0645\u06cc \u06af\u0631\u062f\u0627\u0646\u062f \u06a9\u0647 \u0646\u0634\u0627\u0646 \u062f\u0647\u0646\u062f\u0647 \u0634\u06cc \u0645\u0634\u062e\u0635 \u0634\u062f\u0647 \u0627\u0633\u062a. \u0631\u0648\u0634 Object.prototype.toString() \u0631\u0627 \u0644\u063a\u0648 \u0645\u06cc \u06a9\u0646\u062f.<\/p>\n<h5 id=\"string-prototype-touppercase\">String.prototype.toUpperCase()<\/h5>\n<p>\u0645\u0642\u062f\u0627\u0631 \u0631\u0634\u062a\u0647 \u0641\u0631\u0627\u062e\u0648\u0627\u0646 \u062a\u0628\u062f\u06cc\u0644 \u0634\u062f\u0647 \u0628\u0647 \u062d\u0631\u0648\u0641 \u0628\u0632\u0631\u06af \u0631\u0627 \u0628\u0631\u0645\u06cc \u06af\u0631\u062f\u0627\u0646\u062f.<\/p>\n<h5 id=\"string-prototype-towellformed\">String.prototype.toWellFormed()<\/h5>\n<p>\u0631\u0634\u062a\u0647\u200c\u0627\u06cc \u0631\u0627 \u0628\u0631\u0645\u06cc\u200c\u06af\u0631\u062f\u0627\u0646\u062f \u06a9\u0647 \u062f\u0631 \u0622\u0646 \u0647\u0645\u0647 \u062c\u0627\u0646\u0634\u06cc\u0646\u200c\u0647\u0627\u06cc \u062a\u0646\u0647\u0627 \u0627\u06cc\u0646 \u0631\u0634\u062a\u0647 \u0628\u0627 \u06a9\u0627\u0631\u0627\u06a9\u062a\u0631 \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u06cc\u0648\u0646\u06cc\u06a9\u062f U+FFFD \u062c\u0627\u06cc\u06af\u0632\u06cc\u0646 \u0645\u06cc\u200c\u0634\u0648\u0646\u062f.<\/p>\n<h5 id=\"string-prototype-trim\">String.prototype.trim()<\/h5>\n<p>\u0641\u0636\u0627\u06cc \u062e\u0627\u0644\u06cc \u0631\u0627 \u0627\u0632 \u0627\u0628\u062a\u062f\u0627 \u0648 \u0627\u0646\u062a\u0647\u0627\u06cc \u0631\u0634\u062a\u0647 \u0628\u0631\u0634 \u0645\u06cc \u062f\u0647\u062f.<\/p>\n<h5 id=\"string-prototype-trimend\">String.prototype.trimEnd()<\/h5>\n<p>\u0641\u0636\u0627\u06cc \u062e\u0627\u0644\u06cc \u0627\u0646\u062a\u0647\u0627\u06cc \u0631\u0634\u062a\u0647 \u0631\u0627 \u0628\u0631\u0634 \u0645\u06cc \u062f\u0647\u062f.<\/p>\n<h5 id=\"string-prototype-trimstart\">String.prototype.trimStart()<\/h5>\n<p>\u0641\u0636\u0627\u06cc \u062e\u0627\u0644\u06cc \u0631\u0627 \u0627\u0632 \u0627\u0628\u062a\u062f\u0627\u06cc \u0631\u0634\u062a\u0647 \u0628\u0631\u0634 \u0645\u06cc \u062f\u0647\u062f.<\/p>\n<h5 id=\"string-prototype-valueof\">String.prototype.valueOf()<\/h5>\n<p>\u0645\u0642\u062f\u0627\u0631 \u0627\u0648\u0644\u06cc\u0647 \u0634\u06cc \u0645\u0634\u062e\u0635 \u0634\u062f\u0647 \u0631\u0627 \u0628\u0631\u0645\u06cc \u06af\u0631\u062f\u0627\u0646\u062f. \u0631\u0648\u0634 Object.prototype.valueOf() \u0631\u0627 \u0644\u063a\u0648 \u0645\u06cc \u06a9\u0646\u062f.<\/p>\n<h5 id=\"string-prototypesymbol-iterator\">String.prototype[Symbol.iterator]()<\/h5>\n<p>\u06cc\u06a9 \u0634\u06cc \u062a\u06a9\u0631\u0627\u0631 \u06a9\u0646\u0646\u062f\u0647 \u062c\u062f\u06cc\u062f \u0631\u0627 \u0628\u0631\u0645\u06cc \u06af\u0631\u062f\u0627\u0646\u062f \u06a9\u0647 \u0631\u0648\u06cc \u0646\u0642\u0627\u0637 \u06a9\u062f \u06cc\u06a9 \u0645\u0642\u062f\u0627\u0631 \u0631\u0634\u062a\u0647 \u062a\u06a9\u0631\u0627\u0631 \u0645\u06cc \u0634\u0648\u062f \u0648 \u0647\u0631 \u0646\u0642\u0637\u0647 \u06a9\u062f \u0631\u0627 \u0628\u0647 \u0639\u0646\u0648\u0627\u0646 \u0645\u0642\u062f\u0627\u0631 \u0631\u0634\u062a\u0647 \u0628\u0631\u0645\u06cc \u06af\u0631\u062f\u0627\u0646\u062f.<\/p>\n","protected":false},"excerpt":{"rendered":"\u0645\u0642\u062f\u0645\u0647 &nbsp; \u0631\u0634\u062a\u0647 \u0647\u0627 \u0628\u0631\u0627\u06cc \u0646\u06af\u0647\u062f\u0627\u0631\u06cc \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u0646\u062f \u0628\u0647 \u0635\u0648\u0631\u062a \u0645\u062a\u0646 \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0634\u0648\u0646\u062f \u0645\u0641\u06cc\u062f&hellip;\n","protected":false},"author":1,"featured_media":15993,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_yoast_wpseo_focuskw":"String Object \u062f\u0631 JavaScript","_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"","_yoast_wpseo_canonical":"","_yoast_wpseo_opengraph-description":"","_yoast_wpseo_opengraph-image":"","_yoast_wpseo_twitter-description":"","_yoast_wpseo_twitter-image":"","_yoast_wpseo_focuskeywords":"","_yoast_wpseo_primary_category":"193","footnotes":""},"categories":[193,363],"tags":[384,435],"class_list":{"0":"post-15992","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-tutorials","8":"category-programming","9":"tag-java-script","10":"tag-programming"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>String Object \u062f\u0631 JavaScript - \u0628\u0644\u0627\u06af ITPiran<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.itpiran.net\/blog\/tutorials\/javascript-reference-global_objects-string\/\" \/>\n<meta property=\"og:locale\" content=\"fa_IR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"String Object \u062f\u0631 JavaScript - \u0628\u0644\u0627\u06af ITPiran\" \/>\n<meta property=\"og:description\" content=\"\u0645\u0642\u062f\u0645\u0647 &nbsp; \u0631\u0634\u062a\u0647 \u0647\u0627 \u0628\u0631\u0627\u06cc \u0646\u06af\u0647\u062f\u0627\u0631\u06cc \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u0646\u062f \u0628\u0647 \u0635\u0648\u0631\u062a \u0645\u062a\u0646 \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0634\u0648\u0646\u062f \u0645\u0641\u06cc\u062f&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.itpiran.net\/blog\/tutorials\/javascript-reference-global_objects-string\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0628\u0644\u0627\u06af ITPiran\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-31T23:25:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.itpiran.net\/2024\/08\/01025351\/string-object-js.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1793\" \/>\n\t<meta property=\"og:image:height\" content=\"1110\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 \u062f\u0642\u06cc\u0642\u0647\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/javascript-reference-global_objects-string\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/javascript-reference-global_objects-string\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/person\\\/04ed27b919baca468a2273f8e4318f81\"},\"headline\":\"String Object \u062f\u0631 JavaScript\",\"datePublished\":\"2024-07-31T23:25:53+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/javascript-reference-global_objects-string\\\/\"},\"wordCount\":268,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/javascript-reference-global_objects-string\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/08\\\/01025351\\\/string-object-js.jpg\",\"keywords\":[\"Java Script\",\"programming\"],\"articleSection\":[\"\u0622\u0645\u0648\u0632\u0634\u06cc\",\"\u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc\"],\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/javascript-reference-global_objects-string\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/javascript-reference-global_objects-string\\\/\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/javascript-reference-global_objects-string\\\/\",\"name\":\"String Object \u062f\u0631 JavaScript - \u0628\u0644\u0627\u06af ITPiran\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/javascript-reference-global_objects-string\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/javascript-reference-global_objects-string\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/08\\\/01025351\\\/string-object-js.jpg\",\"datePublished\":\"2024-07-31T23:25:53+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/javascript-reference-global_objects-string\\\/#breadcrumb\"},\"inLanguage\":\"fa-IR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/javascript-reference-global_objects-string\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/javascript-reference-global_objects-string\\\/#primaryimage\",\"url\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/08\\\/01025351\\\/string-object-js.jpg\",\"contentUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2024\\\/08\\\/01025351\\\/string-object-js.jpg\",\"width\":1793,\"height\":1110},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/tutorials\\\/javascript-reference-global_objects-string\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u0622\u0645\u0648\u0632\u0634\u06cc\",\"item\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/category\\\/tutorials\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"String Object \u062f\u0631 JavaScript\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\",\"name\":\"\u0628\u0644\u0627\u06af ITPiran\",\"description\":\"\u0627\u062e\u0628\u0627\u0631 \u0648 \u0645\u0642\u0627\u0644\u0627\u062a \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fa-IR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#organization\",\"name\":\"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\",\"alternateName\":\"ITPIran Blog\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fa-IR\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/cdn.itpiran.net\\\/2023\\\/12\\\/27150508\\\/cropped-ITPIRAN-BLOG-LOGO-2.png\",\"contentUrl\":\"https:\\\/\\\/cdn.itpiran.net\\\/2023\\\/12\\\/27150508\\\/cropped-ITPIRAN-BLOG-LOGO-2.png\",\"width\":512,\"height\":512,\"caption\":\"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646\"},\"image\":{\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/#\\\/schema\\\/person\\\/04ed27b919baca468a2273f8e4318f81\",\"name\":\"admin\",\"url\":\"https:\\\/\\\/www.itpiran.net\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"String Object \u062f\u0631 JavaScript - \u0628\u0644\u0627\u06af ITPiran","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.itpiran.net\/blog\/tutorials\/javascript-reference-global_objects-string\/","og_locale":"fa_IR","og_type":"article","og_title":"String Object \u062f\u0631 JavaScript - \u0628\u0644\u0627\u06af ITPiran","og_description":"\u0645\u0642\u062f\u0645\u0647 &nbsp; \u0631\u0634\u062a\u0647 \u0647\u0627 \u0628\u0631\u0627\u06cc \u0646\u06af\u0647\u062f\u0627\u0631\u06cc \u062f\u0627\u062f\u0647 \u0647\u0627\u06cc\u06cc \u06a9\u0647 \u0645\u06cc \u062a\u0648\u0627\u0646\u0646\u062f \u0628\u0647 \u0635\u0648\u0631\u062a \u0645\u062a\u0646 \u0646\u0645\u0627\u06cc\u0634 \u062f\u0627\u062f\u0647 \u0634\u0648\u0646\u062f \u0645\u0641\u06cc\u062f&hellip;","og_url":"https:\/\/www.itpiran.net\/blog\/tutorials\/javascript-reference-global_objects-string\/","og_site_name":"\u0628\u0644\u0627\u06af ITPiran","article_published_time":"2024-07-31T23:25:53+00:00","og_image":[{"width":1793,"height":1110,"url":"https:\/\/cdn.itpiran.net\/2024\/08\/01025351\/string-object-js.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u0646\u0648\u0634\u062a\u0647\u200c\u0634\u062f\u0647 \u0628\u062f\u0633\u062a":"admin","\u0632\u0645\u0627\u0646 \u062a\u0642\u0631\u06cc\u0628\u06cc \u0628\u0631\u0627\u06cc \u062e\u0648\u0627\u0646\u062f\u0646":"3 \u062f\u0642\u06cc\u0642\u0647"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/javascript-reference-global_objects-string\/#article","isPartOf":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/javascript-reference-global_objects-string\/"},"author":{"name":"admin","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/person\/04ed27b919baca468a2273f8e4318f81"},"headline":"String Object \u062f\u0631 JavaScript","datePublished":"2024-07-31T23:25:53+00:00","mainEntityOfPage":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/javascript-reference-global_objects-string\/"},"wordCount":268,"commentCount":0,"publisher":{"@id":"https:\/\/www.itpiran.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/javascript-reference-global_objects-string\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.itpiran.net\/2024\/08\/01025351\/string-object-js.jpg","keywords":["Java Script","programming"],"articleSection":["\u0622\u0645\u0648\u0632\u0634\u06cc","\u0628\u0631\u0646\u0627\u0645\u0647 \u0646\u0648\u06cc\u0633\u06cc"],"inLanguage":"fa-IR","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.itpiran.net\/blog\/tutorials\/javascript-reference-global_objects-string\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/javascript-reference-global_objects-string\/","url":"https:\/\/www.itpiran.net\/blog\/tutorials\/javascript-reference-global_objects-string\/","name":"String Object \u062f\u0631 JavaScript - \u0628\u0644\u0627\u06af ITPiran","isPartOf":{"@id":"https:\/\/www.itpiran.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/javascript-reference-global_objects-string\/#primaryimage"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/javascript-reference-global_objects-string\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.itpiran.net\/2024\/08\/01025351\/string-object-js.jpg","datePublished":"2024-07-31T23:25:53+00:00","breadcrumb":{"@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/javascript-reference-global_objects-string\/#breadcrumb"},"inLanguage":"fa-IR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.itpiran.net\/blog\/tutorials\/javascript-reference-global_objects-string\/"]}]},{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/javascript-reference-global_objects-string\/#primaryimage","url":"https:\/\/cdn.itpiran.net\/2024\/08\/01025351\/string-object-js.jpg","contentUrl":"https:\/\/cdn.itpiran.net\/2024\/08\/01025351\/string-object-js.jpg","width":1793,"height":1110},{"@type":"BreadcrumbList","@id":"https:\/\/www.itpiran.net\/blog\/tutorials\/javascript-reference-global_objects-string\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.itpiran.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u0622\u0645\u0648\u0632\u0634\u06cc","item":"https:\/\/www.itpiran.net\/blog\/category\/tutorials\/"},{"@type":"ListItem","position":3,"name":"String Object \u062f\u0631 JavaScript"}]},{"@type":"WebSite","@id":"https:\/\/www.itpiran.net\/blog\/#website","url":"https:\/\/www.itpiran.net\/blog\/","name":"\u0628\u0644\u0627\u06af ITPiran","description":"\u0627\u062e\u0628\u0627\u0631 \u0648 \u0645\u0642\u0627\u0644\u0627\u062a \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646","publisher":{"@id":"https:\/\/www.itpiran.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.itpiran.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fa-IR"},{"@type":"Organization","@id":"https:\/\/www.itpiran.net\/blog\/#organization","name":"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646","alternateName":"ITPIran Blog","url":"https:\/\/www.itpiran.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"fa-IR","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdn.itpiran.net\/2023\/12\/27150508\/cropped-ITPIRAN-BLOG-LOGO-2.png","contentUrl":"https:\/\/cdn.itpiran.net\/2023\/12\/27150508\/cropped-ITPIRAN-BLOG-LOGO-2.png","width":512,"height":512,"caption":"\u0628\u0644\u0627\u06af \u062a\u062c\u0627\u0631\u062a \u067e\u0627\u06cc\u062f\u0627\u0631 \u0627\u06cc\u0631\u0627\u0646\u06cc\u0627\u0646"},"image":{"@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.itpiran.net\/blog\/#\/schema\/person\/04ed27b919baca468a2273f8e4318f81","name":"admin","url":"https:\/\/www.itpiran.net\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.itpiran.net\/blog\/wp-json\/wp\/v2\/posts\/15992","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itpiran.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itpiran.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/wp-json\/wp\/v2\/comments?post=15992"}],"version-history":[{"count":2,"href":"https:\/\/www.itpiran.net\/blog\/wp-json\/wp\/v2\/posts\/15992\/revisions"}],"predecessor-version":[{"id":15995,"href":"https:\/\/www.itpiran.net\/blog\/wp-json\/wp\/v2\/posts\/15992\/revisions\/15995"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/wp-json\/wp\/v2\/media\/15993"}],"wp:attachment":[{"href":"https:\/\/www.itpiran.net\/blog\/wp-json\/wp\/v2\/media?parent=15992"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/wp-json\/wp\/v2\/categories?post=15992"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itpiran.net\/blog\/wp-json\/wp\/v2\/tags?post=15992"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}