{"id":127,"date":"2021-04-06T21:57:29","date_gmt":"2021-04-06T19:57:29","guid":{"rendered":"https:\/\/gilsteiner.com\/loragil\/?p=127"},"modified":"2022-04-23T16:37:15","modified_gmt":"2022-04-23T14:37:15","slug":"exchanging-couples","status":"publish","type":"post","link":"https:\/\/gilsteiner.com\/loragil\/2021\/04\/06\/exchanging-couples\/","title":{"rendered":"\u05de\u05e1\u05d9\u05d1\u05ea \u05d7\u05d9\u05dc\u05d5\u05e4\u05d9 \u05d6\u05d5\u05d2\u05d5\u05ea"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u05d0\u05ea\u05d2\u05e8\u05d9 \u05ea\u05db\u05e0\u05d5\u05ea \u05d4\u05dd \u05de\u05e9\u05d4\u05d5 \u05e9\u05d0\u05e0\u05d9 \u05e0\u05d4\u05e0\u05d4 \u05dc\u05db\u05ea\u05d5\u05d1 \u05e2\u05dc\u05d9\u05d5 \u05e8\u05e7 \u05d0\u05dd \u05d9\u05e9 \u05d1\u05d4\u05dd \u05de\u05e9\u05d4\u05d5 \u05e2\u05dd \u05e2\u05e8\u05da \u05de\u05d5\u05e1\u05e3 \u05d0\u05de\u05d9\u05ea\u05d9. \u05dc\u05d4\u05db\u05d9\u05e8 \u05e9\u05e4\u05ea \u05ea\u05db\u05e0\u05d5\u05ea \u05d3\u05e8\u05da \u05d3\u05d1\u05e8\u05d9\u05dd \u05e7\u05d8\u05e0\u05d9\u05dd, \u05e4\u05e9\u05d5\u05d8\u05d9\u05dd \u05d5\u05de\u05d0\u05ea\u05d2\u05e8\u05d9\u05dd, \u05d6\u05d0\u05ea \u05d3\u05e8\u05da \u05de\u05e6\u05d5\u05d9\u05d9\u05e0\u05ea \u05dc\u05dc\u05de\u05d5\u05d3 \u05d5\u05d1\u05d5\u05d5\u05d3\u05d0\u05d9 \u05e1\u05d9\u05d1\u05d4 \u05dc\u05d7\u05e9\u05d9\u05d1\u05d4 \u05d9\u05e6\u05d9\u05e8\u05ea\u05d9\u05ea. \u05d5\u05db\u05d1\u05e8 \u05d0\u05de\u05e8\u05d5 \u05d7\u05db\u05de\u05d9\u05dd \u05de\u05de\u05e0\u05d9: \u05db\u05db\u05dc \u05e9\u05de\u05e8\u05d7\u05d1 \u05d4\u05d0\u05e4\u05e9\u05e8\u05d5\u05d9\u05d5\u05ea \u05e7\u05d8\u05df \u05d9\u05d5\u05ea\u05e8, \u05db\u05db\u05d4 \u05e0\u05d3\u05e8\u05e9\u05ea \u05d9\u05d5\u05ea\u05e8 \u05d9\u05e6\u05d9\u05e8\u05ea\u05d9\u05d5\u05ea \u05d1\u05de\u05e6\u05d9\u05d0\u05ea \u05e4\u05ea\u05e8\u05d5\u05df.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05d6 \u05d4\u05e0\u05d4 \u05d1\u05e2\u05d9\u05d4 \u05d1\u05e1\u05d9\u05e1\u05d9\u05ea \u05de\u05d0\u05d3. \u05d0\u05d9\u05da \u05de\u05d7\u05dc\u05d9\u05e4\u05d9\u05dd \u05e2\u05e8\u05db\u05d9\u05dd \u05de\u05e1\u05e4\u05e8\u05d9\u05d9\u05dd \u05d1\u05d9\u05df \u05e9\u05e0\u05d9 \u05de\u05e9\u05ea\u05e0\u05d9\u05dd \u05d1-JS?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05ea\u05e9\u05d5\u05d1\u05d4 \u05d4\u05db\u05d9 \u05d8\u05e8\u05d9\u05d5\u05d5\u05d9\u05d0\u05dc\u05d9\u05ea \u05d4\u05d9\u05d0 \u05d6\u05d5:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>let a = 1\nlet b = 2\nlet c = a\na = b\nb = c<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05d7\u05de\u05d3, \u05d0\u05d1\u05dc \u05dc\u05d0 \u05de\u05e8\u05e9\u05d9\u05dd. \u05de\u05d4 \u05d9\u05e7\u05e8\u05d4 \u05d0\u05dd \u05e0\u05d3\u05e8\u05d5\u05e9 \u05dc\u05e4\u05ea\u05d5\u05e8 \u05d0\u05ea \u05d4\u05d1\u05e2\u05d9\u05d4 \u05e2\u05dd \u05e9\u05e0\u05d9 \u05de\u05e9\u05ea\u05e0\u05d9\u05dd \u05d1\u05dc\u05d1\u05d3? \u05e7\u05d7\u05d5 \u05e9\u05ea\u05d9 \u05d3\u05e7\u05d5\u05ea \u05dc\u05d7\u05e9\u05d5\u05d1 \u05e2\u05dc \u05d6\u05d4.<\/p>\n\n\n\n<h2 id=\"wp-block-themeisle-blocks-advanced-heading-f315080b\" class=\"wp-block-themeisle-blocks-advanced-heading wp-block-themeisle-blocks-advanced-heading-f315080b\">\u05d4\u05e2\u05dc\u05d9\u05dc\u05d4 \u05de\u05e1\u05ea\u05d1\u05db\u05ea<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05de\u05d4 \u05d9\u05e7\u05e8\u05d4 \u05d0\u05dd \u05e0\u05d7\u05d1\u05e8 \u05d0\u05ea \u05e9\u05e0\u05d9 \u05d4\u05de\u05e1\u05e4\u05e8\u05d9\u05dd \u05d5\u05e0\u05e9\u05d9\u05dd \u05d0\u05ea \u05d4\u05ea\u05d5\u05e6\u05d0\u05d4 \u05d1\u05ea\u05d5\u05da \u05d0\u05d7\u05d3 \u05de\u05d4\u05de\u05e9\u05ea\u05e0\u05d9\u05dd \u05d4\u05d0\u05dc\u05d4? \u05d4\u05d4\u05e4\u05e8\u05e9 \u05d1\u05d9\u05df \u05d4\u05e1\u05db\u05d5\u05dd \u05dc\u05d1\u05d9\u05df \u05d4\u05e2\u05e8\u05da \u05e9\u05e9\u05de\u05d5\u05e8 \u05d1\u05de\u05e9\u05ea\u05e0\u05d4 \u05d4\u05e9\u05e0\u05d9 \u05d4\u05d5\u05d0 \u05d4\u05e2\u05e8\u05da \u05e9\u05d4\u05d9\u05d4 \u05d1\u05de\u05e7\u05d5\u05e8 \u05d1\u05de\u05e9\u05ea\u05e0\u05d4 \u05d4\u05e8\u05d0\u05e9\u05d5\u05df (\u05d6\u05d4 \u05e9\u05d4\u05e4\u05da \u05dc\u05e1\u05db\u05d5\u05dd). \u05d0\u05dd \u05e0\u05e9\u05d9\u05dd \u05d0\u05ea \u05d4\u05d4\u05e4\u05e8\u05e9 \u05d1\u05ea\u05d5\u05da \u05d4\u05de\u05e9\u05ea\u05e0\u05d4 \u05d4\u05e9\u05e0\u05d9, \u05d4\u05e8\u05d9 \u05e9\u05d4\u05e2\u05d1\u05e8\u05e0\u05d5 \u05e2\u05e8\u05da \u05d0\u05d7\u05d3. \u05d0\u05d1\u05dc \u05de\u05d4 \u05e7\u05d5\u05e8\u05d4 \u05e2\u05dd \u05d4\u05de\u05e9\u05ea\u05e0\u05d4 \u05d4\u05e8\u05d0\u05e9\u05d5\u05df? \u05d4\u05d5\u05d0 \u05e2\u05d3\u05d9\u05d9\u05df \u05de\u05db\u05d9\u05dc \u05d0\u05ea \u05d4\u05e1\u05db\u05d5\u05dd. \u05d5\u05e2\u05db\u05e9\u05d9\u05d5 \u05de\u05d4 \u05e9\u05d5\u05d5\u05d4 \u05d4\u05d4\u05e4\u05e8\u05e9 \u05d1\u05d9\u05df \u05d4\u05de\u05e9\u05ea\u05e0\u05d4 \u05d4\u05e8\u05d0\u05e9\u05d5\u05df (\u05d4\u05e1\u05db\u05d5\u05dd) \u05dc\u05d1\u05d9\u05df \u05d4\u05e9\u05e0\u05d9? \u05e0\u05db\u05d5\u05df, \u05d4\u05e2\u05e8\u05da \u05e9\u05d4\u05d9\u05d4 \u05e9\u05de\u05d5\u05e8 \u05d1\u05de\u05e9\u05ea\u05e0\u05d4 \u05d4\u05e9\u05e0\u05d9 \u05d1\u05de\u05e7\u05d5\u05e8. \u05e0\u05e9\u05d9\u05dd \u05d0\u05d5\u05ea\u05d5 \u05d1\u05de\u05e9\u05ea\u05e0\u05d4 \u05d4\u05e8\u05d0\u05e9\u05d5\u05df!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e0\u05e2\u05e9\u05d4 \u05d0\u05ea \u05d6\u05d4 \u05de\u05e1\u05d5\u05d3\u05e8:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>let a = 1\nlet b = 2\na = a + b \/\/ a = 1 + 2 === 3\nb = a - b \/\/ b = 3 - 2 === 1\na = a - b \/\/ a = 3 - 1 === 2<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d5\u05d6\u05d4 \u05e4\u05ea\u05e8\u05d5\u05df \u05e1\u05d1\u05d1\u05d4 \u05dc\u05d2\u05de\u05e8\u05d9 \u05dc\u05e9\u05d0\u05dc\u05d4 \u05e9\u05d0\u05ea\u05dd \u05e2\u05dc\u05d5\u05dc\u05d9\u05dd \u05dc\u05d4\u05d9\u05e9\u05d0\u05dc \u05d1\u05e8\u05d0\u05d9\u05d5\u05df \u05e2\u05d1\u05d5\u05d3\u05d4 \u05de\u05e7\u05e6\u05d5\u05e2\u05d9.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05d1\u05dc \u05d0\u05e0\u05d7\u05e0\u05d5 \u05dc\u05d0 \u05d1\u05e8\u05d0\u05d9\u05d5\u05df \u05e2\u05d1\u05d5\u05d3\u05d4, \u05d0\u05d6 \u05d1\u05d5\u05d0\u05d5 \u05e0\u05e1\u05d1\u05da \u05d0\u05ea \u05d4\u05e2\u05e0\u05d9\u05d9\u05e0\u05d9\u05dd \u05e7\u05e6\u05ea \u05d9\u05d5\u05ea\u05e8. \u05e2\u05db\u05e9\u05d9\u05d5 \u05e6\u05e8\u05d9\u05da \u05dc\u05d4\u05d7\u05dc\u05d9\u05e3 \u05d1\u05d9\u05df \u05e9\u05e0\u05d9 \u05de\u05e9\u05ea\u05e0\u05d9\u05dd \u05de\u05d7\u05e8\u05d5\u05d6\u05ea \u05d1\u05d0\u05d5\u05e8\u05da \u05ea\u05d5 \u05d0\u05d7\u05d3 \u05dc\u05dc\u05d0 \u05ea\u05d9\u05d5\u05d5\u05da.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e7\u05d7\u05d5 \u05e9\u05ea\u05d9 \u05d3\u05e7\u05d5\u05ea \u05d5\u05e8\u05de\u05d6. \u05e0\u05e1\u05d5 \u05dc\u05d7\u05e9\u05d5\u05d1 \u05e2\u05dc \u05d3\u05e8\u05da \u05dc\u05d4\u05ea\u05d9\u05d9\u05d7\u05e1 \u05dc\u05d1\u05e2\u05d9\u05d4 \u05d4\u05d6\u05d0\u05ea \u05d1\u05d0\u05d5\u05e4\u05df \u05d3\u05d5\u05de\u05d4 \u05db\u05db\u05dc \u05d4\u05d0\u05e4\u05e9\u05e8 \u05dc\u05d1\u05e2\u05d9\u05d4 \u05d4\u05e7\u05d5\u05d3\u05de\u05ea. \u05de\u05d5\u05ea\u05e8 \u05d5\u05d0\u05e3 \u05d7\u05d5\u05d1\u05d4 \u05dc\u05d4\u05e9\u05ea\u05de\u05e9 \u05d1\u05db\u05dc\u05d9\u05dd \u05e1\u05d8\u05e0\u05d3\u05e8\u05d8\u05d9\u05d9\u05dd \u05e9\u05dc JS \u05dc\u05e4\u05ea\u05d5\u05e8 \u05d0\u05ea \u05d4\u05d1\u05e2\u05d9\u05d4. \u05d0\u05d9\u05df \u05e9\u05d5\u05dd \u05e6\u05d5\u05e8\u05da \u05d1\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05de\u05d5\u05d1\u05e0\u05d5\u05ea.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d2\u05dd \u05db\u05d0\u05df \u05d4\u05e4\u05ea\u05e8\u05d5\u05df \u05d4\u05d5\u05d0 \u05dc\u05d7\u05d1\u05e8 \u05d1\u05d9\u05df \u05e9\u05e0\u05d9 \u05d4\u05de\u05e9\u05ea\u05e0\u05d9\u05dd \u05d5\u05dc\u05e4\u05e6\u05dc \u05dc\u05d0\u05d7\u05e8 \u05de\u05db\u05df. \u05d0\u05e0\u05d7\u05e0\u05d5 \u05e0\u05e9\u05ea\u05de\u05e9 \u05d1\u05e2\u05d5\u05d1\u05d3\u05d4 \u05e9\u05de\u05d7\u05e8\u05d5\u05d6\u05d5\u05ea \u05de\u05ea\u05e0\u05d4\u05d2\u05d5\u05ea \u05db\u05de\u05d5 \u05de\u05e2\u05e8\u05db\u05d9\u05dd.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>let a = 'a'\nlet b = 'b'\na = a + b \/\/ a = 'a' + 'b' === 'ab'\nb = a&#91;0] \/\/ b = 'a'\na = a&#91;1] \/\/ a = 'b'<\/code><\/pre>\n\n\n\n<h2 id=\"wp-block-themeisle-blocks-advanced-heading-c2e68e6e\" class=\"wp-block-themeisle-blocks-advanced-heading wp-block-themeisle-blocks-advanced-heading-c2e68e6e\">\u05d4\u05e2\u05dc\u05d9\u05dc\u05d4 \u05de\u05e1\u05ea\u05d1\u05db\u05ea \u05e2\u05d5\u05d3 \u05d9\u05d5\u05ea\u05e8<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d9\u05db\u05d5\u05dc\u05e0\u05d5 \u05dc\u05e1\u05d9\u05d9\u05dd \u05db\u05d0\u05df, \u05d0\u05d1\u05dc \u05d0\u05e0\u05d7\u05e0\u05d5 \u05d9\u05e6\u05d9\u05e8\u05ea\u05d9\u05d9\u05dd. \u05d1\u05d5\u05d0\u05d5 \u05e0\u05e1\u05d1\u05da.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e2\u05db\u05e9\u05d9\u05d5 \u05e6\u05e8\u05d9\u05da \u05dc\u05d4\u05d7\u05dc\u05d9\u05e3 \u05d1\u05d9\u05df \u05e9\u05e0\u05d9 \u05de\u05e9\u05ea\u05e0\u05d9 \u05de\u05d7\u05e8\u05d5\u05d6\u05ea \u05d1\u05d0\u05d5\u05e8\u05da \u05db\u05dc\u05e9\u05d4\u05d5. \u05d4\u05e4\u05e2\u05dd, \u05dc\u05de\u05e8\u05d5\u05ea \u05e9\u05dc\u05db\u05d0\u05d5\u05e8\u05d4 \u05d0\u05e4\u05e9\u05e8 \u05dc\u05e4\u05ea\u05d5\u05e8 \u05d2\u05dd \u05d0\u05ea \u05d4\u05d1\u05e2\u05d9\u05d4 \u05d4\u05d6\u05d0\u05ea \u05dc\u05dc\u05d0 \u05e9\u05d9\u05de\u05d5\u05e9 \u05d1\u05e9\u05d5\u05dd \u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d4, \u05d0\u05e0\u05d7\u05e0\u05d5 \u05e0\u05ea\u05d9\u05e8 \u05e9\u05d9\u05de\u05d5\u05e9 \u05d1\u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d5\u05ea \u05d1\u05e1\u05d9\u05e1\u05d9\u05d5\u05ea \u05dc\u05e9\u05dd \u05d4\u05e4\u05e9\u05d8\u05d5\u05ea.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e9\u05d9\u05de\u05d5 \u05dc\u05d1 \u05e9\u05e2\u05db\u05e9\u05d9\u05d5 \u05d4\u05e4\u05ea\u05e8\u05d5\u05df \u05d9\u05e9\u05dc\u05d1 \u05d8\u05db\u05e0\u05d9\u05e7\u05d5\u05ea \u05de\u05e9\u05ea\u05d9 \u05d4\u05d1\u05e2\u05d9\u05d5\u05ea \u05d4\u05e7\u05d5\u05d3\u05de\u05d5\u05ea. \u05d0\u05e0\u05d7\u05e0\u05d5 \u05d2\u05dd \u05e0\u05d0\u05d7\u05d3 \u05d1\u05d9\u05df \u05e9\u05e0\u05d9 \u05d4\u05e2\u05e8\u05db\u05d9\u05dd, \u05d0\u05d1\u05dc \u05d2\u05dd \u05e0\u05d2\u05d6\u05d5\u05e8 \u05d0\u05d5\u05ea\u05dd \u05ea\u05d5\u05da \u05e9\u05d9\u05de\u05d5\u05e9 \u05d1\u05e2\u05d5\u05d1\u05d3\u05d4 \u05e9\u05de\u05d7\u05e8\u05d5\u05d6\u05d5\u05ea \u05d3\u05d5\u05de\u05d5\u05ea \u05dc\u05de\u05e2\u05e8\u05db\u05d9\u05dd.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>let a = 'abc'\nlet b = 'defg'\na = a + b \/\/ a = 'abe' + 'defg' === 'abedefg'\nb = a.substr(0, a.length - b.length) \/\/ b = substr(0, 7 - 4) === 'abc'\na = a.substr(b.length) \/\/ a = substr(3) === 'defg'<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">(\u05e9\u05d9\u05de\u05d5 \u05dc\u05d1 \u05e9\u05d1\u05e9\u05d5\u05e8\u05d4 \u05d4\u05d0\u05d7\u05e8\u05d5\u05e0\u05d4 \u05dc\u05d0 \u05e0\u05d3\u05e8\u05e9\u05e0\u05d5 \u05dc\u05e4\u05e8\u05de\u05d8\u05e8 \u05e9\u05e0\u05d9 \u05d1-substr. \u05d0\u05dd \u05d0\u05d9\u05df \u05e2\u05e8\u05da, \u05e4\u05e9\u05d5\u05d8 \u05dc\u05d5\u05e7\u05d7\u05d9\u05dd \u05d0\u05ea \u05db\u05dc \u05de\u05d4 \u05e9\u05e0\u05e9\u05d0\u05e8 \u05d4\u05d7\u05dc \u05de\u05d4\u05d0\u05d9\u05e0\u05d3\u05e7\u05e1.)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05d2\u05e2\u05e0\u05d5 \u05dc\u05e9\u05d9\u05d0? \u05d0\u05e4\u05e9\u05e8 \u05dc\u05e4\u05e8\u05d5\u05e9? \u05dc\u05d0 \u05d5\u05dc\u05d0! \u05e2\u05db\u05e9\u05d9\u05d5 \u05e0\u05d2\u05d9\u05e2 \u05dc\u05e9\u05d5\u05e1 \u05d4\u05d0\u05de\u05d9\u05ea\u05d9. <\/p>\n\n\n\n<h2 id=\"wp-block-themeisle-blocks-advanced-heading-970224e2\" class=\"wp-block-themeisle-blocks-advanced-heading wp-block-themeisle-blocks-advanced-heading-970224e2\">\u05d4\u05e9\u05d5\u05e1 \u05d4\u05d0\u05de\u05d9\u05ea\u05d9<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d9\u05e9 \u05e6\u05d5\u05e8\u05da \u05dc\u05d4\u05d7\u05dc\u05d9\u05e3 \u05d1\u05d9\u05df \u05e9\u05e0\u05d9 \u05de\u05e9\u05ea\u05e0\u05d9\u05dd \u05db\u05dc\u05e9\u05d4\u05dd \u05dc\u05dc\u05d0 \u05ea\u05d9\u05d5\u05d5\u05da. \u05db\u05dc\u05d5\u05de\u05e8, \u05d0\u05e0\u05d7\u05e0\u05d5 \u05dc\u05d0 \u05d9\u05d5\u05d3\u05e2\u05d9\u05dd \u05db\u05dc\u05d5\u05dd \u05e2\u05dc \u05d4\u05de\u05e9\u05ea\u05e0\u05d9\u05dd \u05d5\u05d6\u05d4 \u05e2\u05d3\u05d9\u05d9\u05df \u05e6\u05e8\u05d9\u05da \u05dc\u05e2\u05d1\u05d5\u05d3 \u05ea\u05de\u05d9\u05d3!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05e2\u05db\u05e9\u05d9\u05d5 \u05d4\u05e4\u05ea\u05e8\u05d5\u05df \u05e6\u05e8\u05d9\u05da \u05dc\u05d4\u05d9\u05d5\u05ea \u05d9\u05e6\u05d9\u05e8\u05ea\u05d9 \u05d1\u05de\u05d9\u05d5\u05d7\u05d3. \u05d5\u05dc\u05de\u05e8\u05d1\u05d4 \u05d4\u05e4\u05dc\u05d0 \u05d3\u05d5\u05d5\u05e7\u05d0 \u05db\u05d0\u05df \u05dc\u05d0 \u05e0\u05d3\u05e8\u05e9\u05ea \u05e9\u05d5\u05dd \u05e4\u05d5\u05e0\u05e7\u05e6\u05d9\u05d4. \u05e7\u05d7\u05d5 \u05e9\u05ea\u05d9 \u05d3\u05e7\u05d5\u05ea \u05dc\u05d7\u05e9\u05d5\u05d1 \u05e2\u05dc \u05d6\u05d4.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d4\u05d9\u05d5\u05e4\u05d9 \u05d1-JS \u05d4\u05d5\u05d0 \u05e9\u05d4\u05de\u05e9\u05ea\u05e0\u05d9\u05dd \u05d1\u05d4 \u05d4\u05dd \u05d3\u05d9\u05e0\u05de\u05d9\u05d9\u05dd. \u05db\u05dc\u05d5\u05de\u05e8, \u05d0\u05d9\u05df \u05e9\u05d5\u05dd \u05d1\u05e2\u05d9\u05d4 \u05e9\u05de\u05e9\u05ea\u05e0\u05d4 \u05d9\u05d4\u05e4\u05d5\u05da \u05de\u05e1\u05d5\u05d2 \u05d0\u05d7\u05d3 \u05dc\u05d0\u05d7\u05e8. JS \u05ea\u05e7\u05d1\u05dc \u05d6\u05d0\u05ea \u05d1\u05d0\u05d4\u05d1\u05d4. \u05d2\u05dd \u05d0\u05e0\u05d7\u05e0\u05d5 \u05d1\u05de\u05e7\u05e8\u05d4 \u05d4\u05d6\u05d4. \u05de\u05d4 \u05d9\u05e7\u05e8\u05d4 \u05d0\u05dd \u05e0\u05de\u05d9\u05e8 \u05d0\u05ea \u05d0\u05d7\u05d3 \u05d4\u05de\u05e9\u05ea\u05e0\u05d9\u05dd \u05dc\u05de\u05e2\u05e8\u05da \u05d5\u05e0\u05e9\u05d9\u05dd \u05d1\u05d5 \u05d0\u05ea \u05e9\u05e0\u05d9 \u05d4\u05e2\u05e8\u05db\u05d9\u05dd \u05e9\u05dc \u05e9\u05e0\u05d9 \u05d4\u05de\u05e9\u05ea\u05e0\u05d9\u05dd?<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>let a = 123\nlet b = 'hello world'\na = &#91;a, b] \/\/ a = &#91;123, 'hello world']\nb = a&#91;0] \/\/ b = 123\na = a&#91;1] \/\/ a = 'hello world'<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u05de\u05d3\u05d4\u05d9\u05dd! \u05de\u05d4 \u05e7\u05e8\u05d4 \u05db\u05d0\u05df? \u05d4\u05e4\u05ea\u05e8\u05d5\u05df \u05d4\u05d6\u05d4 \u05dc\u05d0 \u05e8\u05e7 \u05e9\u05e2\u05d5\u05e0\u05d4 \u05e2\u05dc \u05db\u05dc \u05d4\u05d3\u05e8\u05d9\u05e9\u05d5\u05ea \u05e9\u05dc \u05db\u05dc \u05e1\u05d5\u05d2 \u05e9\u05dc \u05d0\u05d5\u05d1\u05d9\u05d9\u05e7\u05d8\u05d9\u05dd, \u05d0\u05dc\u05d0 \u05d2\u05dd \u05d4\u05d5\u05d0 \u05e4\u05e9\u05d5\u05d8 \u05d9\u05d5\u05ea\u05e8 \u05de\u05db\u05dc \u05e4\u05ea\u05e8\u05d5\u05df \u05e7\u05d5\u05d3\u05dd!<\/p>\n\n\n\n<h2 id=\"wp-block-themeisle-blocks-advanced-heading-e2278afc\" class=\"wp-block-themeisle-blocks-advanced-heading wp-block-themeisle-blocks-advanced-heading-e2278afc\">\u05dc\u05e1\u05d9\u05db\u05d5\u05dd<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05ea\u05e8\u05d2\u05d9\u05dc \u05ea\u05de\u05d9\u05dd \u05d4\u05d5\u05d1\u05d9\u05dc \u05dc\u05de\u05d0\u05d5\u05e8\u05ea \u05d0\u05e8\u05e0\u05d1\u05d9\u05dd. \u05d5\u05d6\u05d4 \u05dc\u05d0 \u05e8\u05e7 \u05d7\u05e8\u05d5\u05d6, \u05d0\u05dc\u05d0 \u05d6\u05d0\u05ea \u05e1\u05d9\u05d1\u05d4 \u05dc\u05de\u05e1\u05d9\u05d1\u05d4. \u05dc\u05de\u05d3\u05e0\u05d5 \u05e7\u05e6\u05ea \u05d0\u05dc\u05d2\u05d5\u05e8\u05d9\u05ea\u05de\u05d9\u05dd. \u05dc\u05de\u05d3\u05e0\u05d5 \u05e4\u05ea\u05e8\u05d5\u05e0\u05d5\u05ea \u05de\u05d5\u05d1\u05e0\u05d9\u05dd \u05e9\u05dc \u05e9\u05e4\u05d4. \u05d5\u05dc\u05de\u05d3\u05e0\u05d5 \u05e2\u05d5\u05d3 \u05de\u05e9\u05d4\u05d5: \u05d4\u05e1\u05ea\u05db\u05dc\u05d5\u05ea \u05d9\u05e6\u05d9\u05e8\u05ea\u05d9\u05ea \u05e2\u05dc \u05d1\u05e2\u05d9\u05d4 \u05e4\u05e9\u05d5\u05d8\u05d4 \u05d9\u05db\u05d5\u05dc\u05d4 \u05dc\u05d4\u05d1\u05d9\u05d0 \u05dc\u05e4\u05ea\u05e8\u05d5\u05df \u05e4\u05e9\u05d5\u05d8 \u05d5\u05d0\u05dc\u05d2\u05e0\u05d8\u05d9 \u05d9\u05d5\u05ea\u05e8 \u05de\u05d4\u05e4\u05ea\u05e8\u05d5\u05df \u05d4\u05d8\u05e8\u05d9\u05d5\u05d5\u05d9\u05d0\u05dc\u05d9.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d5\u05e2\u05db\u05e9\u05d9\u05d5 \u05d1\u05d5\u05e0\u05d5\u05e1 \u05e7\u05d8\u05df.<\/p>\n\n\n\n<h2 id=\"wp-block-themeisle-blocks-advanced-heading-566355b9\" class=\"wp-block-themeisle-blocks-advanced-heading wp-block-themeisle-blocks-advanced-heading-566355b9\">\u05d1\u05d5\u05e0\u05d5\u05e1 \u05e7\u05d8\u05df<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u05d0\u05e4\u05e9\u05e8 \u05d2\u05dd <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators\/Destructuring_assignment\" data-type=\"URL\" data-id=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Operators\/Destructuring_assignment\">\u05db\u05db\u05d4<\/a>.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>let a = 'abc'\nlet b = 'defg'\n&#91;a,b]=&#91;b,a]<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u05d7\u05d9\u05dc\u05d5\u05e4\u05d9 \u05d6\u05d5\u05d2\u05d5\u05ea? \u05dc\u05d0 \u05de\u05d4 \u05e9\u05d7\u05e9\u05d1\u05ea\u05dd. \u05d6\u05d0\u05ea \u05d1\u05e1\u05da \u05d4\u05db\u05dc \u05de\u05d0\u05d5\u05e8\u05ea \u05d0\u05e8\u05e0\u05d1\u05d9\u05dd.<\/p>\n","protected":false},"author":1,"featured_media":47,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"0","ocean_second_sidebar":"0","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"0","ocean_custom_header_template":"0","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"0","ocean_menu_typo_font_family":"0","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"0","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"off","ocean_gallery_id":[],"footnotes":""},"categories":[13],"tags":[],"class_list":["post-127","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-13","entry","has-media"],"_links":{"self":[{"href":"https:\/\/gilsteiner.com\/loragil\/wp-json\/wp\/v2\/posts\/127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gilsteiner.com\/loragil\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gilsteiner.com\/loragil\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gilsteiner.com\/loragil\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gilsteiner.com\/loragil\/wp-json\/wp\/v2\/comments?post=127"}],"version-history":[{"count":13,"href":"https:\/\/gilsteiner.com\/loragil\/wp-json\/wp\/v2\/posts\/127\/revisions"}],"predecessor-version":[{"id":758,"href":"https:\/\/gilsteiner.com\/loragil\/wp-json\/wp\/v2\/posts\/127\/revisions\/758"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gilsteiner.com\/loragil\/wp-json\/wp\/v2\/media\/47"}],"wp:attachment":[{"href":"https:\/\/gilsteiner.com\/loragil\/wp-json\/wp\/v2\/media?parent=127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gilsteiner.com\/loragil\/wp-json\/wp\/v2\/categories?post=127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gilsteiner.com\/loragil\/wp-json\/wp\/v2\/tags?post=127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}