<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-955077994923150578</id><updated>2026-02-12T13:10:56.553+01:00</updated><category term="PAR"/><category term="java"/><title type='text'>Few things</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.mikota.cz/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/955077994923150578/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://blog.mikota.cz/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13147529849554177162</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-955077994923150578.post-2913864403993434621</id><published>2016-01-11T06:11:00.000+01:00</published><updated>2016-01-11T06:36:19.774+01:00</updated><title type='text'>Bleskurychlé webové aplikace</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span id=&quot;docs-internal-guid-5afef70e-2ed5-f152-7eaa-0228e1ebaeee&quot;&gt;&lt;span style=&quot;color: #666666; font-family: Arial; font-size: 12px; font-style: italic; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Výpisek z mé přednášky na ČVUT:FIT 16.12. 2015 v Dejvicích. Na chyby mě prosím upozorněte v komentářích. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;color: #666666; font-family: Arial; font-size: 12px; font-style: italic; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #0b5394; font-family: Arial; font-size: large;&quot;&gt;Jak vnímá uživatel rychlost aplikace&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 12px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: Arial;&quot;&gt;Rychlost Aplikace&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial; font-size: 12px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;Aplikace je bolestivě pomalá, uživatel jí opustí&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial; font-size: 12px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;Aplikace je snesitelná, uživatel používá&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial; font-size: 12px; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;Aplikace je plynulá, uživatel má radost&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2ed7-7aaa-ed97-73c529fdf32e&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;margin-left: 0pt;&quot;&gt;
&lt;table style=&quot;border-collapse: collapse; border: none; width: 680px;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;*&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;background-color: #fff2cc; border-bottom: solid #ffd966 1px; border-left: solid #ffd966 1px; border-right: solid #ffd966 1px; border-top: solid #ffd966 1px; padding: 7px 7px 7px 7px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: transparent; font-family: Arial; font-size: 13.3333px; font-style: italic; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;“Jakmile má uživatel opravdu radost, už se nevyplatí investovat do zrychlení.”&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2ed7-7aaa-ed97-73c529fdf32e&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
A nebo z druhé strany:&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2ed7-eae4-8bb7-7b873fddbca6&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;margin-left: 0pt;&quot;&gt;
&lt;table style=&quot;border-collapse: collapse; border: none; width: 680px;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;*&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;background-color: #fff2cc; border-bottom: solid #ffd966 1px; border-left: solid #ffd966 1px; border-right: solid #ffd966 1px; border-top: solid #ffd966 1px; padding: 7px 7px 7px 7px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: transparent; font-family: Arial; font-size: 13.3333px; font-style: italic; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;“Investujte do zrychlení, dokud nemá uživatel opravdu radost.”&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2ed7-eae4-8bb7-7b873fddbca6&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span id=&quot;docs-internal-guid-68a9cce5-2ed8-7dcc-2718-1000d07808e8&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;margin-left: 0pt;&quot;&gt;
&lt;table style=&quot;border-collapse: collapse; border: none;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;147&quot;&gt;&lt;/col&gt;&lt;col width=&quot;533&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;background-color: #db4437; border-bottom: solid #cc0000 1px; border-left: solid #db4437 1px; border-right: solid #cc0000 1px; border-top: solid #db4437 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: white; font-family: Arial; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Prodleva&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;background-color: #db4437; border-bottom: solid #cc0000 1px; border-left: solid #cc0000 1px; border-right: solid #db4437 1px; border-top: solid #db4437 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: white; font-family: Arial; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Reakce uživatele&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom: solid #b7b7b7 1px; border-left: solid #ffffff 1px; border-right: solid #b7b7b7 1px; border-top: solid #cc0000 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #38761d; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;0 - 100ms&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom: solid #b7b7b7 1px; border-left: solid #b7b7b7 1px; border-right: solid #ffffff 1px; border-top: solid #cc0000 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Okamžitá reakce&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom: solid #b7b7b7 1px; border-left: solid #ffffff 1px; border-right: solid #b7b7b7 1px; border-top: solid #b7b7b7 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #bf9000; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;100 - 300ms&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom: solid #b7b7b7 1px; border-left: solid #b7b7b7 1px; border-right: solid #ffffff 1px; border-top: solid #b7b7b7 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Malá vnímatelná prodleva&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom: solid #9e9e9e 1px; border-left: solid #ffffff 1px; border-right: solid #b7b7b7 1px; border-top: solid #b7b7b7 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #990000; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;300 - 1000ms&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom: solid #9e9e9e 1px; border-left: solid #b7b7b7 1px; border-right: solid #ffffff 1px; border-top: solid #b7b7b7 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Stále v kontextu jednoho úkolu, vnímá prodlevu&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom: solid #9e9e9e 1px; border-left: solid #ffffff 1px; border-right: solid #b7b7b7 1px; border-top: solid #9e9e9e 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #351c75; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;1000+ ms&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom: solid #9e9e9e 1px; border-left: solid #b7b7b7 1px; border-right: solid #ffffff 1px; border-top: solid #9e9e9e 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Mysl utíká k jinému problému (context switch)&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 19px;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom: solid #ffffff 1px; border-left: solid #ffffff 1px; border-right: solid #9e9e9e 1px; border-top: solid #9e9e9e 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #351c75; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;10 000+ ms&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom: solid #ffffff 1px; border-left: solid #9e9e9e 1px; border-right: solid #ffffff 1px; border-top: solid #9e9e9e 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Je to rozbité / přijdu později&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;span id=&quot;docs-internal-guid-68a9cce5-2ed8-7dcc-2718-1000d07808e8&quot;&gt;
&lt;br /&gt;&lt;br /&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-left: 0pt;&quot;&gt;
&lt;table style=&quot;border-collapse: collapse; border: none;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;147&quot;&gt;&lt;/col&gt;&lt;col width=&quot;533&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 32px;&quot;&gt;&lt;td colspan=&quot;2&quot; style=&quot;background-color: #db4437; border-bottom: solid #cc0000 1px; border-left: solid #db4437 1px; border-right: solid #cc0000 1px; border-top: solid #db4437 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: white; font-family: Arial; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;60 FPS =&amp;gt; 16ms (1/60)&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h2 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #0b5394; font-family: Arial; font-size: large;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;RAIL Model&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;span style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 12px; white-space: pre-wrap;&quot;&gt;Model, který definuje časy pro svižnou aplikaci v různých typech interakce - k těmto hodnotám se pokoušíme přiblížit. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;b style=&quot;color: #444444; font-family: Arial; font-size: 12px; white-space: pre-wrap;&quot;&gt;Reaction Time &amp;lt; 100ms
&lt;/b&gt;&lt;span style=&quot;color: #444444; font-family: Arial; font-size: 12px; white-space: pre-wrap;&quot;&gt;Uživatel pociťuje okamžitou odezvu. Např. po kliknutí na tlačítko. Cokoliv delší a akce-reakce je rozbitá.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;b style=&quot;color: #444444; font-family: Arial; font-size: 12px; white-space: pre-wrap;&quot;&gt;Animation Time = 16ms
&lt;/b&gt;&lt;span style=&quot;color: #444444; font-family: Arial; font-size: 12px; white-space: pre-wrap;&quot;&gt;Změny jsou plynulé. Např. scrollování. Jakákoliv změna plynulosti otravuje.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;b style=&quot;color: #444444; font-family: Arial; font-size: 12px; white-space: pre-wrap;&quot;&gt;Idle Time “Na prázdno” = 50ms&amp;nbsp;
&lt;/b&gt;&lt;span style=&quot;color: #444444; font-family: Arial; font-size: 12px; white-space: pre-wrap;&quot;&gt;Uživatel nic aktivně nedělá, takže aplikace má čas udělat práci. Musíme jí ale omezit na 50ms, aby aplikace mohla zareagovat na uživatele.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;b style=&quot;color: #444444; font-family: Arial; font-size: 12px; white-space: pre-wrap;&quot;&gt;Load Time &amp;lt; 1s
&lt;/b&gt;&lt;span style=&quot;color: #444444; font-family: Arial; font-size: 12px; white-space: pre-wrap;&quot;&gt;První zobrazení. Aby uživatel neztratil kontext, aby nezačal přemýšlet o něčem jiném.&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;color: #444444; font-size: 12px; white-space: pre-wrap;&quot;&gt;
&lt;span style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;
&lt;div&gt;
&lt;h2&gt;
&lt;span style=&quot;color: #0b5394; font-size: large;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;Bojujeme proti fyzikálním zákonům a rychlost světla je protivně pomalá&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2eda-5a23-6b70-57b3de1e46c7&quot;&gt;&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;img height=&quot;383px;&quot; src=&quot;https://lh6.googleusercontent.com/h-PkCQcvbYf-KwlwYZB3gbteB5nuD5Evi3x_9rb6ciBekZrqONnV3i2YEIxYmwgwn5alIyEt2xiwGShASScq0qa8R6Y_QAX7lcKTh2JAkdRn5G3AFz4WbNDLW-mSIKHcOvrqupvY&quot; style=&quot;-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);&quot; width=&quot;680px;&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 12px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #666666; font-family: Arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div&gt;
Žádnou informaci nejsme schopni přenést po povrchu země z mého bytu do Dejvic rychleji, než za 31.2ms. A to je ideální případ ve vakuu, kdy na cestě nejsou žádné jiné “zpomalovače”, jako switche a routery. Realita bude mnohem horší (např. mobil nejprve musí navázat připojení k věži operátora).&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
Pokud 31.2ms porovnáme s čísly, které jsme si definovali pro RAIL, tak vidíme, že zde soupeříme s fyzikálními zákony a musíme k problému přistupovat chytře (trh a váš šéf většinou na fyzikální a matematické limity nedbá).&lt;/div&gt;
&lt;div&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2edc-518f-04e4-b2901b2e8d3b&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;margin-left: 0pt;&quot;&gt;
&lt;table style=&quot;border-collapse: collapse; border: none; width: 680px;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;*&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;background-color: #fff2cc; border-bottom: solid #ffd966 1px; border-left: solid #ffd966 1px; border-right: solid #ffd966 1px; border-top: solid #ffd966 1px; padding: 7px 7px 7px 7px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: transparent; font-family: Arial; font-size: 13.3333px; font-style: italic; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Poznatek:&lt;/span&gt;&lt;span style=&quot;background-color: transparent; font-family: Arial; font-size: 13.3333px; font-style: italic; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; “Rychlost světla je protivně pomalá”&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2edc-518f-04e4-b2901b2e8d3b&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h2&gt;
&lt;span style=&quot;color: #0b5394; font-family: Arial; font-size: large;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;Jaké jsou rozdíly mezi nativními a webovými aplikacemi&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394; font-family: Arial; font-size: large;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2edd-e45c-6cc9-ac4325cba640&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;margin-left: 0pt;&quot;&gt;
&lt;table style=&quot;border-collapse: collapse; border: none;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;340&quot;&gt;&lt;/col&gt;&lt;col width=&quot;340&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;background-color: #f4b400; border-bottom: solid #bf9000 1px; border-left: solid #bf9000 1px; border-right: solid #bf9000 1px; border-top: solid #bf9000 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: white; font-family: Arial; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Webové aplikace&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;background-color: #f4b400; border-bottom: solid #bf9000 1px; border-left: solid #bf9000 1px; border-right: solid #bf9000 1px; border-top: solid #bf9000 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: white; font-family: Arial; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Nativní aplikace (Android, iOS...)&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom: solid #b7b7b7 1px; border-left: solid #ffffff 1px; border-right: solid #b7b7b7 1px; border-top: solid #bf9000 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #0f9d58; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Vždy aktualizované&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom: solid #b7b7b7 1px; border-left: solid #b7b7b7 1px; border-right: solid #ffffff 1px; border-top: solid #bf9000 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #0f9d58; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Jednotný proces instalace (app store)&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 5px;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom: solid #b7b7b7 1px; border-left: solid #ffffff 1px; border-right: solid #b7b7b7 1px; border-top: solid #b7b7b7 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #0f9d58; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Fungují na všech platformách&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom: solid #b7b7b7 1px; border-left: solid #b7b7b7 1px; border-right: solid #ffffff 1px; border-top: solid #b7b7b7 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #0f9d58; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Fungují offline&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom: solid #9e9e9e 1px; border-left: solid #ffffff 1px; border-right: solid #b7b7b7 1px; border-top: solid #b7b7b7 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #0f9d58; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Jeden zdrojový kód&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom: solid #9e9e9e 1px; border-left: solid #b7b7b7 1px; border-right: solid #ffffff 1px; border-top: solid #b7b7b7 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #0f9d58; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Rychlé + Přístup k GPU a periferiím&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom: solid #9e9e9e 1px; border-left: solid #ffffff 1px; border-right: solid #b7b7b7 1px; border-top: solid #9e9e9e 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #0f9d58; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Nejsou blokovány pravidly app storů&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom: solid #9e9e9e 1px; border-left: solid #b7b7b7 1px; border-right: solid #ffffff 1px; border-top: solid #9e9e9e 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #0f9d58; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Přístup k funkcím OS&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom: solid #9e9e9e 1px; border-left: solid #ffffff 1px; border-right: solid #9e9e9e 1px; border-top: solid #9e9e9e 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #db4437; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Nejasný způsob instalace&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom: solid #9e9e9e 1px; border-left: solid #9e9e9e 1px; border-right: solid #ffffff 1px; border-top: solid #9e9e9e 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #db4437; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Aktualizace nejsou pod kontrolou&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom: solid #9e9e9e 1px; border-left: solid #ffffff 1px; border-right: solid #9e9e9e 1px; border-top: solid #9e9e9e 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #db4437; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Potřebují připojení k internetu&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom: solid #9e9e9e 1px; border-left: solid #9e9e9e 1px; border-right: solid #ffffff 1px; border-top: solid #9e9e9e 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #db4437; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Každá platforma má odlišné schopnosti&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom: solid #9e9e9e 1px; border-left: solid #ffffff 1px; border-right: solid #9e9e9e 1px; border-top: solid #9e9e9e 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #db4437; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Nemají přímý přístup k funkcím OS&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom: solid #9e9e9e 1px; border-left: solid #9e9e9e 1px; border-right: solid #ffffff 1px; border-top: solid #9e9e9e 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #db4437; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Limitované pravidly app storů&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;background-color: white; border-bottom: solid #ffffff 1px; border-left: solid #ffffff 1px; border-right: solid #9e9e9e 1px; border-top: solid #9e9e9e 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #db4437; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Načítají se pomalu&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;background-color: white; border-bottom: solid #ffffff 1px; border-left: solid #9e9e9e 1px; border-right: solid #ffffff 1px; border-top: solid #9e9e9e 1px; padding: 9px 9px 9px 9px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #db4437; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Dražší na vývoj&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2edd-e45c-6cc9-ac4325cba640&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h2&gt;
&lt;span style=&quot;color: #0b5394; font-family: Arial; font-size: large;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;Jak postupovat, když je aplikace pomalá?&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2edf-20ad-3b20-a4cb3417089f&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;img height=&quot;383px;&quot; src=&quot;https://lh4.googleusercontent.com/9mLSXhqCs8cRUH0HPQAmU1-uG62MAQs3Vk7JBU-gjo49OVceoXbA1GMkDERUuCmvurvCMsfq_29IuQ5X-0XPKuWe5niSPbX-oWmuQLLyOh9DRk4ctJPjzFf62jP8U21FRZrYHSsp&quot; style=&quot;-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);&quot; width=&quot;680px;&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;vertical-align: baseline;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; white-space: pre-wrap;&quot;&gt;Měříme přesně a opakovatelně, jaké interakce v aplikaci trvají jak dlouho&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; white-space: pre-wrap;&quot;&gt;Analyzujeme, uděláme seznam problémů, seřadíme podle toho jak jsou pomalé a důležité&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; white-space: pre-wrap;&quot;&gt;Ze seznamu vezmeme první problém a vyřešíme/zlepšíme&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; white-space: pre-wrap;&quot;&gt;GOTO 1&lt;/span&gt;&lt;/li&gt;
&lt;/span&gt;&lt;/ol&gt;
&lt;/div&gt;
&lt;span style=&quot;vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;font-family: Arial; font-size: 13.3333px; white-space: pre-wrap;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h2&gt;
&lt;span style=&quot;color: #0b5394; font-family: Arial; font-size: large;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;Analýza: Jak funguje prohlížeč&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2edf-c9dd-606e-06286df9ff79&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;img height=&quot;222px;&quot; src=&quot;https://lh5.googleusercontent.com/B8X-vntgUXp5ONN0q1Msa6BFxWcBv-abNBTtOxPhP2aFvuMEpuMgM7cSsHtQlzqeB6afrRpVABzbxwjqyCOaUB5gRd0ynq1Iwgru8twkPFWpQvi8P9kqGIK7GtuTq1u1MizTVzyl&quot; style=&quot;-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);&quot; width=&quot;364px;&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 13.3333px; white-space: pre-wrap;&quot;&gt;Při hledání problému se zaměříme na tři hlavní situace, které mohou a často způsobují “pomalost”:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;vertical-align: baseline;&quot;&gt;
&lt;div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; white-space: pre-wrap;&quot;&gt;Prohlížeč stáhne data stránky&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; white-space: pre-wrap;&quot;&gt;Prohlížeč vykreslí data na obrazovku&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; white-space: pre-wrap;&quot;&gt;Prohlížeč reaguje na pokyny uživatele&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 13.3333px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394; font-family: Arial;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&lt;b&gt;Jak funguje prohlížeč: Stažení dat potřebných pro zobrazení&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Arial; font-size: 13.3333px; white-space: pre-wrap;&quot;&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2ee0-70d6-d381-aa40890dd5a8&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2ee0-70d6-d381-aa40890dd5a8&quot;&gt;&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline;&quot;&gt;Když prohlížeč stahuje data pro jQuery, tak pouze 1/10 času je stráveno samotným přenosem dat, zbytek je navazování šifrovaného připojení k serveru.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2ee0-70d6-d381-aa40890dd5a8&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline;&quot;&gt;&lt;img height=&quot;383px;&quot; src=&quot;https://lh3.googleusercontent.com/C9RV3r8WP0jcc4eCqwsNvPTJAaYvIgKV2HG3XdsnJIgg_1zMJa5sLPKp7HJi-9Qd6Y9ukjGEvTKWSsvthd381j195zcDrChAXq8CoPEQGj295OUNXGcHVtK-n0AQ-q4M61VRrMJ5&quot; style=&quot;-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);&quot; width=&quot;680px;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2ee1-c1c5-2e17-e02818cbdd82&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2ee1-c1c5-2e17-e02818cbdd82&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Každou sekci v tomto obrázku ukazujícím časovou osu pro stažení jQuery lze zkrátit, či úplně odebrat. A když ne pro první načtení, tak alespoň pro všechny další načtení.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2ee1-c1c5-2e17-e02818cbdd82&quot;&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: Times; font-size: medium; white-space: normal;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span id=&quot;docs-internal-guid-d6766271-2ed7-eae4-8bb7-7b873fddbca6&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;margin-left: 0pt;&quot;&gt;
&lt;table style=&quot;border-collapse: collapse; border: none; width: 680px;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;*&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;background-color: #fff2cc; border: 1px solid rgb(255, 217, 102); padding: 7px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt; text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: transparent; font-family: Arial; font-size: 13.3333px; font-style: italic; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;b&gt;Poznatek: &lt;/b&gt;“první odpověď od serveru (HTML) definuje řádek po řádku, jaké další soubory se mají načíst”&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span id=&quot;docs-internal-guid-d6766271-2ed7-eae4-8bb7-7b873fddbca6&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b style=&quot;color: #0b5394; font-family: Arial; white-space: pre-wrap;&quot;&gt;Jak funguje prohlížeč: Vykreslení na obrazovku&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b style=&quot;color: #0b5394; font-family: Arial; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2ee2-8b6b-39f2-09a9a5f33e88&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;img height=&quot;65px;&quot; src=&quot;https://lh6.googleusercontent.com/KxyvSdLi-2atUQAJykXdvm03paKmJO9RBrvGWKhic0881RbITryWE8BNKEYBXQrY0PwrmIbgPX0H5GbPyY-NgfaBlevXGyIAnTkfaSW0Ku6D_t2u9EA8RjJxsnf___mXxGZkDMWd&quot; style=&quot;border: none; transform: rotate(0rad);&quot; width=&quot;680px;&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2ee2-a6fa-c177-d8f8e4464d45&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2ee2-a6fa-c177-d8f8e4464d45&quot;&gt;&lt;span style=&quot;color: #0b5394; font-family: Arial; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Parse HTML&lt;/span&gt;&lt;span style=&quot;color: #0b5394; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0b5394; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #0b5394; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #434343; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Krok po kroku přečte HTML kód a vytvoří DOM (Data Object Model).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2ee2-a6fa-c177-d8f8e4464d45&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;color: #bf9000; font-family: Arial; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;JavaScript&lt;/span&gt;&lt;span style=&quot;color: #bf9000; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #bf9000; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #bf9000; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #434343; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Zpracuje data a vynutí změnu, kterou je potřeba zobrazit na stránce.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;color: #674ea7; font-family: Arial; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Style&lt;/span&gt;&lt;span style=&quot;color: #674ea7; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #674ea7; font-family: Arial; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Calculations&lt;/span&gt;&lt;span style=&quot;color: #674ea7; font-family: Arial; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #434343; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Najde pro elementy jejich příslušně CSS styly (barvu, pozici, atd.).&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;color: #674ea7; font-family: Arial; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Layout&lt;/span&gt;&lt;span style=&quot;color: #674ea7; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #674ea7; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #674ea7; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #434343; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Spočítá, kam na stránce umístit všechny elementy a jak jsou veliké.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;color: #38761d; font-family: Arial; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Paint&lt;/span&gt;&lt;span style=&quot;color: #38761d; font-family: Arial; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #38761d; font-family: Arial; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #38761d; font-family: Arial; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #434343; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Vykreslí jednotlivé pixely: fonty, barvy, obrázky, stíny. &lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;color: #38761d; font-family: Arial; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Composite&lt;/span&gt;&lt;span style=&quot;color: #38761d; font-family: Arial; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #38761d; font-family: Arial; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #434343; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Sloučí vrstvy dohromady a vykreslí ve správném pořadí. &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #434343; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #434343; font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0b5394; font-family: Arial;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&lt;b&gt;Jak funguje prohlížeč: Reakce na pokyny uživatele&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2ee4-84b3-8fe6-909f347482e3&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;span id=&quot;docs-internal-guid-d6766271-2ee4-84b3-8fe6-909f347482e3&quot;&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;font-family: Arial; font-size: 13.3333px; list-style-type: disc; vertical-align: baseline;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;JavaScript je jednovláknový. Když běží JavaScript, stránka je zaseklá a nedovolí žádné další interakce, ani např. scrollování.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;font-family: Arial; font-size: 13.3333px; list-style-type: disc; vertical-align: baseline;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Prohlížeč přepíná mezi dvěmi stavy - buď pouští JavaScript, nebo vykonává “svoje věci” (většinou napsané v C++), např. zobrazení elementů, reakce na scrollování a pod. viz předchozí sekce &lt;/span&gt;&lt;span style=&quot;font-size: 13.3333px; font-style: italic; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Vykreslení na obrazovku&lt;/span&gt;&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;font-family: Arial; font-size: 13.3333px; list-style-type: disc; vertical-align: baseline;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;K tomu prohlížeč používa event-loop, nebo-li frontu s úkoly: &lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;ol style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;font-family: Arial; font-size: 13.3333px; list-style-type: lower-alpha; vertical-align: baseline;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Pokud je ve frontě nějaký úkol, prohlížeč (JavaScript engine) ho začne zpracovávat &lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;font-family: Arial; font-size: 13.3333px; list-style-type: lower-alpha; vertical-align: baseline;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Když je jeden úkol v JS dokončen, tak prohlížeč přepne do stavu “svoje věci” a aktualizuje to co zobrazuje, vykreslí data, atd.&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;font-family: Arial; font-size: 13.3333px; list-style-type: lower-alpha; vertical-align: baseline;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Po malé chvilce zas prohlížeč zkontroluje, jestli je něco ve frontě a pokračuje bodem (a) &lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;font-family: Arial; font-size: 13.3333px; list-style-type: disc; vertical-align: baseline;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Body (a) až (c) se prohlížeč snaží vykonat do 16ms tak, aby stránka reagovala plynule. &lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/span&gt;&lt;/ul&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2ee4-84b3-8fe6-909f347482e3&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 13.3333px; line-height: 18.4px; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2ee5-4e20-f5b7-d9b9cfb2aa44&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;img height=&quot;287px;&quot; src=&quot;https://lh4.googleusercontent.com/iujyRukQ0z6IcgaucwzbUCwNYVChBEYV-id7J2Hx7Et8F-o4Q-QxPYKt8zjsXj6kU_5j3nofWI-6ZhYAMam-aFIL0vjovISudeO97g2wprbuXWclMzWB4ox2sJbnHsOtHTacs_XN&quot; style=&quot;-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);&quot; width=&quot;299px;&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2ee5-70b9-c885-c44aad817afa&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2ee5-70b9-c885-c44aad817afa&quot;&gt;&lt;span style=&quot;font-family: Arial; font-size: 12px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;(Zdroj: &lt;/span&gt;&lt;a href=&quot;http://www.2ality.com/2014/09/es6-promises-foundations.html&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;color: #1155cc; font-family: Arial; font-size: 12px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;2ality&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Arial; font-size: 12px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2ee5-70b9-c885-c44aad817afa&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: 12px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h2&gt;
&lt;span style=&quot;color: #0b5394; font-family: Arial; font-size: large;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;Jak na rychlou aplikaci&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2ee6-0766-c0a6-0dacc4968f70&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Je více různých možností a taktik, jak vytvořit rychlou aplikaci, ale my se v následujícím textu zaměříme na tyto 4 body:&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;/div&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; line-height: 18.4px; white-space: pre-wrap;&quot;&gt;Progresivní načítání&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; line-height: 18.4px; white-space: pre-wrap;&quot;&gt;Jak neblokovat prohlížeč&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; line-height: 18.4px; white-space: pre-wrap;&quot;&gt;Resource Hints&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; line-height: 18.4px; white-space: pre-wrap;&quot;&gt;Přednačítání pomocí nových HTML APIs&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; line-height: 18.4px; white-space: pre-wrap;&quot;&gt;Web Worker&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; line-height: 18.4px; white-space: pre-wrap;&quot;&gt;Provádění výpočtů ve Web Workers, neboli JS vícevláknově&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; line-height: 18.4px; white-space: pre-wrap;&quot;&gt;Service Worker&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; line-height: 18.4px; white-space: pre-wrap;&quot;&gt;Uložení aplikace offline pomocí nového API pro psaní vlastní proxy v prohlížeči&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: transparent; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h2&gt;
&lt;span style=&quot;background-color: transparent; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #0b5394; font-family: Arial; font-size: large;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;Progresivní načítání&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;span style=&quot;background-color: transparent; vertical-align: baseline;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;line-height: 18.4px; white-space: pre-wrap;&quot;&gt;Nečekáme až se načtou veškeré zdroje (data, obrázky, JavaScript), ale zobrazujeme uživateli informace, jakmile dorazí. Podívejme se na následující vizualizaci:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;
&lt;div&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2ee7-d5a8-ec8f-cbf26a25b4c9&quot;&gt;&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;img height=&quot;300px;&quot; src=&quot;https://lh6.googleusercontent.com/RRIwdnBkf-v3bRynrSH_D3N905gNe335OrEf6zeO-OLUHoLMLA7fEjd4YhDXj6DAmTLHkxy3yWim3t2ZRTblDhYg447zBeusgCl2UpxO0PMWqYvgsjKimT0rEu-FduZ4bDUlCsLL&quot; style=&quot;-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);&quot; width=&quot;611px;&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2ee7-eea9-4a97-d4fd8c7232a1&quot;&gt;&lt;span style=&quot;font-size: 12px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;(Zdroj a více informací: &lt;/span&gt;&lt;a href=&quot;https://developers.google.com/web/fundamentals/performance/critical-rendering-path/&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;color: #1155cc; font-size: 12px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Google Developers: Critical rendering path&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 12px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;vertical-align: baseline;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;Nic se ale nesmí přehánět - nechceme, aby uživateli obsah poskakoval na stránce a stránka blikala a měnila se pod ukazatelem. Proto je dobré rozdělit stránku na sekci, kterou uživatel uvidí hned po načtení (“above the fold”) a na sekci, ke které teprve musí doscrollovat.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;vertical-align: baseline;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2ee8-4d6b-96b7-c020f2541777&quot;&gt;&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;img height=&quot;244px;&quot; src=&quot;https://lh6.googleusercontent.com/gjAYiNdr_bwN_wC0wDtc91CLv-aXtDERQmClmL-hnZ8ivrlA1Ygwbz1yr3IcqHHRyzzlXSnFkdEgQk1JXBCICFXuU6eEWEi8PvUI9wRZEBumMfPB3vDfUa4GiUSCdXlZ34VhjsvR&quot; style=&quot;-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);&quot; width=&quot;300px;&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 12px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;(Zdroj: &lt;/span&gt;&lt;a href=&quot;http://www.wordstream.com/blog/ws/2013/06/12/underused-adwords-features&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;color: #1155cc; font-size: 12px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;WordStream&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: 12px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2ee9-71f7-9b89-788b2f8cd93c&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Toho docílíme tím, že rozdělíme zdroje (JS, data...) podle toho kdy by měly být načteny a řídíme kdy se data načítají. &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-size: 12px; white-space: pre-wrap;&quot;&gt;
&lt;div style=&quot;font-family: Times; font-size: medium; white-space: normal;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: Times; font-size: medium; white-space: normal;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span id=&quot;docs-internal-guid-d6766271-2ed7-eae4-8bb7-7b873fddbca6&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;margin-left: 0pt;&quot;&gt;
&lt;table style=&quot;border-collapse: collapse; border: none; width: 680px;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;*&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;background-color: #fff2cc; border: 1px solid rgb(255, 217, 102); padding: 7px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 13.3333px; line-height: 18.4px; white-space: pre-wrap;&quot;&gt;&lt;i&gt;&lt;b&gt;Pravidlo: &lt;/b&gt;“Zdroje by měly být přednačteny co nejdříve a načteny co nejpozději”&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span id=&quot;docs-internal-guid-d6766271-2ed7-eae4-8bb7-7b873fddbca6&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;Pokud toto pravidlo splníme, tak se&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;zdroje načtou velmi rychle&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;ale vytíží CPU, až když jsou potřeba&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;Jedním z přístupů je použít takzvaný “&lt;b&gt;Application Shell&lt;/b&gt;”, tedy rozdělit aplikaci na data (html, layout, js), která se nikdy nemění (tzv. shell = ulita) a zbytek dat stáhnout až poté v zvláštním dotazu serveru: 
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2eed-df4c-97c7-92107c974b1d&quot;&gt;&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;img height=&quot;347px;&quot; src=&quot;https://lh5.googleusercontent.com/-SCI92rJfbRzLiGRjBO-k7wzlODAOSy4n7l4nKhUwVal07aaGfIFCK56ZsweWcPAKGDaOQLtzY2O6JHSRrSkZwKapi4bBKLE7cVRULK-7a8kB1uO56XLjL-itVqPKaNbjMD3Zh0Q&quot; style=&quot;-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);&quot; width=&quot;469px;&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2eee-05c6-cfc5-92b03c6f3506&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2eee-05c6-cfc5-92b03c6f3506&quot;&gt;&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Pro detaily doporučuji tento velmi pěkný článek: &lt;/span&gt;&lt;a href=&quot;http://addyosmani.com/blog/getting-started-with-progressive-web-apps/&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;color: #1155cc; font-size: 13.3333px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Getting Started with Progressive Web Apps&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;, který vznikl až po mé původní prezentaci (inspiroval se Addy? :) ).&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2eee-05c6-cfc5-92b03c6f3506&quot;&gt;
&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Pěkná ukázka takové aplikace je &lt;/span&gt;&lt;a href=&quot;https://voice-memos.appspot.com/&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;color: #1155cc; font-size: 13.3333px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;voice-memos.appspot.com&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; (&lt;/span&gt;&lt;a href=&quot;https://aerotwist.com/blog/voice-memos/&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;color: #1155cc; font-size: 13.3333px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;článek&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;, &lt;/span&gt;&lt;a href=&quot;https://github.com/GoogleChrome/voice-memos&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;color: #1155cc; font-size: 13.3333px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;zdrojáky&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;).&lt;/span&gt;&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h2&gt;
&lt;span style=&quot;color: #0b5394; font-size: large;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;Neblokujte prohlížeč v jeho práci&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;Jak jsme již zmínili, v první odpovědi posílá server prohlížeči index.html soubor. Tento soubor definuje další odkazy na soubory, které stránka potřebuje. Např.:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-size: 13.3333px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;font-family: Arial; margin-left: 0pt;&quot;&gt;
&lt;table style=&quot;border-collapse: collapse; border: none; width: 680px;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;*&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;background-color: #fafafa; border-bottom: solid #d9d9d9 1px; border-left: solid #d9d9d9 1px; border-right: solid #d9d9d9 1px; border-top: solid #d9d9d9 1px; padding: 7px 7px 7px 7px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #9f499b; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #00838f; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;html&amp;gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #00838f; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;head&amp;gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #00838f; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;script&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; src=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #689f38; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;webcomponents-lite.min.js&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #00838f; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;gt;&amp;lt;/script&amp;gt; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #cc0000; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;← Blokuje!&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #00838f; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;script&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; src=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #689f38; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;app.js&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #00838f; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;gt;&amp;lt;/script&amp;gt; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #cc0000; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;← Blokuje!&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #00838f; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;link&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; rel=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #689f38; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;import&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; href=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #689f38; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;app-element.html&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #00838f; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;gt; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #cc0000; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;← Blokuje!&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #00838f; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;link&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; rel=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #689f38; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;stylesheet&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; type=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #689f38; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;text/css&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; href=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #689f38; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;all-styles.css&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #00838f; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;gt; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #cc0000; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;← Blokuje!&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #00838f; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #00838f; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;body&amp;gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #00838f; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;app-element&amp;gt;&amp;lt;/app-element&amp;gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #00838f; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #00838f; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;/html&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-size: 13.3333px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: transparent; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Zjednodušeně: Prohlížeč zpracovává soubor index.html řádek po řádce a jednotlivé řádky mohou blokovat další zpracování, dokud odkazovaný soubor není stažen a spuštěn.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: transparent; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: transparent; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: transparent; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: transparent; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;vertical-align: baseline;&quot;&gt;&lt;span id=&quot;docs-internal-guid-d6766271-2ed7-eae4-8bb7-7b873fddbca6&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;color: black; font-family: Times; font-size: medium; font-style: normal; font-variant: normal; font-weight: 400; margin-left: 0pt; text-decoration: none; white-space: normal;&quot;&gt;
&lt;table style=&quot;border-collapse: collapse; border: none; width: 680px;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;*&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;background-color: #fff2cc; border: 1px solid rgb(255, 217, 102); padding: 7px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 13.3333px; line-height: 18.4px; white-space: pre-wrap;&quot;&gt;&lt;i&gt;&lt;b&gt;Pravidlo: &lt;/b&gt;“Žádný řádek v index.html by neměl blokovat další zpracování dotazem na server”&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: transparent; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;vertical-align: baseline;&quot;&gt;&lt;span id=&quot;docs-internal-guid-d6766271-2ed7-eae4-8bb7-7b873fddbca6&quot;&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
Následující kód ukazuje lepší způsob - po pár změnách již html neblokuje prohlížeč ani jedním řádkem:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: transparent; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;vertical-align: baseline;&quot;&gt;
&lt;div&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2ef0-dfe4-883f-717b82048e1c&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;margin-left: 0pt;&quot;&gt;
&lt;table style=&quot;border-collapse: collapse; border: none; width: 680px;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;*&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;background-color: #fafafa; border-bottom: solid #d9d9d9 1px; border-left: solid #d9d9d9 1px; border-right: solid #d9d9d9 1px; border-top: solid #d9d9d9 1px; padding: 7px 7px 7px 7px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #9f499b; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&amp;lt;!DOCTYPE html&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #63a35c; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #63a35c; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #63a35c; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;meta&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #795da3; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #183691; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;theme-color&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #795da3; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #183691; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;theme-color&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #795da3; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;content&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #183691; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;#263238&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #0f9d58; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;← Mobile App Theme&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #63a35c; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;link&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #795da3; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;rel&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #183691; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;manifest&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #795da3; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;href&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #183691; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;/manifest.json&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #00838f; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #0f9d58; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;← Offline Manifest&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #63a35c; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;link&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; rel=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #689f38; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;import&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; href=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #689f38; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;app-element.html&quot; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #795da3; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;async&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #00838f; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #00838f; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #0f9d58; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;← Async Load&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #63a35c; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;style&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;gt;.main{height:64px;background:&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #183691; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;#263238 ...&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;}&amp;lt;/&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #63a35c; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;style&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #00838f; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #0f9d58; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;← Inline CSS&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #63a35c; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;head&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #63a35c; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #63a35c; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;main&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #795da3; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #183691; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;main&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #63a35c; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;main&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #00838f; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #0f9d58; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;← Application Shell&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #63a35c; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;aside&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #795da3; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #183691; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;toast-view&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #63a35c; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;aside&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #00838f; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #0f9d58; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;← Application Shell&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #455a64; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #00838f; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;app-element&amp;gt;&amp;lt;/app-element&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #63a35c; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #795da3; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;async&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #795da3; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;src&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #183691; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;/app.js&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #63a35c; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;script&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;gt; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #00838f; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #0f9d58; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;← Async Load&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #63a35c; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;body&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Courier New, Courier, monospace;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #63a35c; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2ef0-dfe4-883f-717b82048e1c&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: transparent; vertical-align: baseline;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: transparent; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Podívejme se např na “async” atribut u JavaScript souboru, který slouží k asynchronnímu (neblokujícímu) načtení:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: transparent; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;margin-left: 0pt;&quot;&gt;
&lt;table style=&quot;border-collapse: collapse; border: none;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;466&quot;&gt;&lt;/col&gt;&lt;col width=&quot;212&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 269px;&quot;&gt;&lt;td style=&quot;border-bottom: solid #ffffff 1px; border-left: solid #ffffff 1px; border-right: solid #ffffff 1px; border-top: solid #ffffff 1px; padding: 7px 7px 7px 7px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;script&amp;gt; &lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;- standardní, blokuje parsování dalšího HTML&lt;/span&gt;&lt;img height=&quot;58px;&quot; src=&quot;https://lh5.googleusercontent.com/pePtbm5dKAdaippqid1zpoOHp9619vxzzSNO1FG5lfjM82vdJZ9Z8-T_EwQJvom_Z14Dd8AG5h7Xx9XxePhR5gT6LuhYROZF-d5SyJeVT61grHjR2jJHcScC-Kp1-t2xSPxkA7R-&quot; style=&quot;border: none; font-family: Arial; font-size: 13.3333px; line-height: 1.38; transform: rotate(0rad); white-space: pre-wrap;&quot; width=&quot;446px;&quot; /&gt;&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;script &lt;/span&gt;&lt;span style=&quot;color: #0f9d58; font-family: Arial; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;async&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; - používejte kde to jde&lt;/span&gt;&lt;img height=&quot;58px;&quot; src=&quot;https://lh3.googleusercontent.com/Ra1xk9jS4slMyrhs_yuvMdy5pOewsXLM0AGwC4GzGUL5X8iqTrcDqtQZzpeCjgT8uYt4BuiloO1RjvYUAoACv3EeedH-aR4pSN5AMZsedM3-mdz04cO6Pl7wyTTMnjE_fCpGWVwO&quot; style=&quot;border: none; font-family: Arial; font-size: 13.3333px; line-height: 1.38; transform: rotate(0rad); white-space: pre-wrap;&quot; width=&quot;447px;&quot; /&gt;&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;script &lt;/span&gt;&lt;span style=&quot;color: #0f9d58; font-family: Arial; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;defer&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; font-weight: 700; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; - starší browsery&lt;/span&gt;&lt;img height=&quot;58px;&quot; src=&quot;https://lh6.googleusercontent.com/LtwPSJUwpqg86q-Yh609qmIDmHwCdUaZULQ6EBZfFcDz-SSdU7_5Qm5B68yslBbDsYMq6VT9D9o7pnybjLQcCXLgfQbh5hC6IU_tXk_t_aj2zNvXaC7Jxu0_9mefuuCe7_CUjl5x&quot; style=&quot;border: none; font-family: Arial; font-size: 18.6667px; line-height: 1.38; transform: rotate(0rad); white-space: pre-wrap;&quot; width=&quot;450px;&quot; /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom: solid #ffffff 1px; border-left: solid #ffffff 1px; border-right: solid #ffffff 1px; border-top: solid #ffffff 1px; padding: 7px 7px 7px 7px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;font-family: Arial; font-size: 18.6667px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;img height=&quot;124px;&quot; src=&quot;https://lh5.googleusercontent.com/79IkIytqsbJRHvSwcLkmajjXHBKRWgLQIr7_jDvgMfllRAMHdciYyimJrFCtVAE4gdsW1tG0SxzPZJRmL5gLugL2Uviyy1Tzgm_SwcufXnEVqOzDabFzjPkGwNtFZ-7305YyKvR2&quot; style=&quot;-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);&quot; width=&quot;250px;&quot; /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;span style=&quot;background-color: transparent; font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h2&gt;
&lt;span style=&quot;color: #0b5394; font-family: Arial; font-size: large;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;Jak doporučit prohlížeči co by měl přednačíst (Resource Hints)&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;Pokud víme, jakou akci uživatel typicky udělá hned poté co se stránka načte (např. ze stránky košíku jde uživatel na stránku objednávky), můžeme toho využít a říct prohlížeči, jaká bude další akce:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b id=&quot;docs-internal-guid-d6766271-2ef4-41bd-69bb-7a8f11af44ca&quot; style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;ul style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: disc; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;preconnect&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;: DNS lookup, TCP handshake and TLS&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-left: 36pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #000088; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;link&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #660066; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;rel&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #666600; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #008800; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;preconnect&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #660066; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;href&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #666600; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #008800; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;https://example.com&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #000088; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #000088; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;link&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #660066; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;rel&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #666600; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #008800; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;preconnect&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #660066; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;href&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #666600; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #008800; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;https://cdn.example.com&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #660066; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;crossorigin&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #000088; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;ul style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;background-color: transparent; color: #666666; font-family: Arial; font-size: 13.333333333333332px; font-style: italic; font-variant: normal; font-weight: 700; list-style-type: circle; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #666666; font-family: Arial; font-size: 13.333333333333332px; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;další variant je rel=”dns-prefetch”, který pouze udělá DNS lookup&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;ul style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: disc; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;prefetch&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;: přednačte zdroje&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-left: 36pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #000088; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;link&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #660066; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;rel&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #666600; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #008800; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;prefetch&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #660066; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;href&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #666600; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #008800; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;https://example.com/next-page.html&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #660066; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;as&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #666600; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #008800; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;html&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #660066; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;crossorigin&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #666600; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #008800; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;use-credentials&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #000088; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #000088; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;link&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #660066; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;rel&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #666600; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #008800; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;prefetch&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #660066; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;href&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #666600; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #008800; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;/library.js&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #660066; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;as&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #666600; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #008800; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;script&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #000088; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;ul style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;&lt;ul style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;background-color: transparent; color: #666666; font-family: Arial; font-size: 13.333333333333332px; font-style: italic; font-variant: normal; font-weight: 400; list-style-type: circle; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #666666; font-family: Arial; font-size: 13.333333333333332px; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;nová lepší varianta je “preload”, který zruší request při navigaci&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;b style=&quot;font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;ul style=&quot;margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;li dir=&quot;ltr&quot; style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; list-style-type: disc; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 700; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;prerender&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;: přednačte celé stránky&lt;/span&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-left: 36pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #000088; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;lt;link&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #660066; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;rel&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #666600; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #008800; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;prerender&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #660066; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;href&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #666600; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #008800; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;//example.com/next-page.html&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #000088; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: transparent; color: #000088; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: transparent; color: #000088; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: transparent; vertical-align: baseline;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h2&gt;
&lt;span style=&quot;background-color: transparent; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #0b5394; font-size: large;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;Co když je JavaScript pomalý?&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;span style=&quot;background-color: transparent; vertical-align: baseline;&quot;&gt;
&lt;div&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;Co dělat, když naše výpočty v JavaScriptu trvají déle, než 16ms tak aby se vešly do jednoho snímku (60FPS)?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;Naivní řešení je použít při výpočtu funkci &lt;b&gt;setTimeout(fn, 10);&lt;/b&gt;, která zajistí že funkce fn bude prohlížečem zavolána až za 10ms a do té doby může prohlížeč provádět “svoje věci”.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;Tato hodnota ale bohužel není synchronizována s tím, jak prohlížeč vykresluje snímky na obrazovku. Lehce se nám tak může stát následující situace, kdy zpracování JavaScriptu přesáhne do dalšího rámce (snímek se tím pádem nevykreslí, a stránka se chová “trhaně”):&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #0b5394; font-size: x-large; white-space: pre-wrap;&quot;&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2ef9-187a-3cae-80e1f202b06e&quot;&gt;&lt;span style=&quot;color: black; font-size: 13.3333px; vertical-align: baseline;&quot;&gt;&lt;img height=&quot;263px;&quot; src=&quot;https://lh5.googleusercontent.com/lM-LrUDFhDK62DgTibSD88N1PraSh2sQoOrPqME4P0v83gmzaI_IParPTkvrGBscOWYU8lYQzlrvFlBKfXcIfW7plZMMb4iTeWZIh4_noLZ01Tkn3D5Mtv__jniYrNpR4WoicS1X&quot; style=&quot;border: none; transform: rotate(0rad);&quot; width=&quot;660px;&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #0b5394; font-size: x-large; white-space: pre-wrap;&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;color: black; font-family: Times; font-size: medium; margin-left: 0pt; white-space: normal;&quot;&gt;
&lt;table style=&quot;border-collapse: collapse; border: none; width: 680px;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;*&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;background-color: #fff2cc; border: 1px solid rgb(255, 217, 102); padding: 7px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;span style=&quot;font-size: 13.3333px; line-height: 18.4px; white-space: pre-wrap;&quot;&gt;&lt;i&gt;&lt;b&gt;Pravidlo: &lt;/b&gt;“Nepoužívejte setTimeout, nebo setInterval pro vizuální změny; vždy používejte requestAnimationFrame (a nově requestIdleCallback)”.&lt;/i&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: 13.3333px; white-space: pre-wrap;&quot;&gt;JavaScript, který musí bežet déle, než 16ms přesuňte do Web Worker.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #0b5394; font-size: x-large; white-space: pre-wrap;&quot;&gt;
&lt;span style=&quot;color: black; font-size: 13.3333px; vertical-align: baseline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h2&gt;
&lt;span style=&quot;color: #0b5394; font-size: large;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;Web Worker - JavaScript vícevláknově&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;Jednou z nových “API” definovaných pro HTML je Web Worker. Web Worker umožňuje běh JavaScriptu ve vlákně na pozadí a práce s ním je snadná:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2efb-67b0-d2bd-4228ef9c5767&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;margin-left: 0pt;&quot;&gt;
&lt;table style=&quot;border-collapse: collapse; border: none; width: 680px;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;*&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;background-color: #fafafa; border-bottom: solid #d9d9d9 1px; border-left: solid #d9d9d9 1px; border-right: solid #d9d9d9 1px; border-top: solid #d9d9d9 1px; padding: 7px 7px 7px 7px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #999988; font-family: Verdana; font-size: 13.333333333333332px; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;// Zaregistrujeme nový WebWorker.&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;var dataSortWorker = new Worker(&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #da2e75; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&quot;sort-worker.js&quot;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #999988; font-family: Verdana; font-size: 13.333333333333332px; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;// Pošleme workeru data na seřazení.&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;dataSortWorker.postMesssage(dataToSort);&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #999988; font-family: Verdana; font-size: 13.333333333333332px; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;// Hlavní vlákno může teď dělat libovolné akce. &lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #999988; font-family: Verdana; font-size: 13.333333333333332px; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;// Ještě musíme poslouchat na odpověď od workeru. &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;dataSortWorker.addEventListener(&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #da2e75; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&#39;message&#39;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;, function(evt) {&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;var sortedData = evt.data;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #999988; font-family: Verdana; font-size: 13.333333333333332px; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;// Odpověď přišla, data jsou seřazená, můžeme zobrazit na stránce.&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;});&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;Model na posílání dat je pak velmi jednoduchý:
&lt;/span&gt;&lt;/span&gt;&lt;span id=&quot;docs-internal-guid-d6766271-2efb-e6bf-52ad-078b71842cc2&quot;&gt;&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;img height=&quot;107px;&quot; src=&quot;https://lh5.googleusercontent.com/IqCiCeAiE-7YFh6CRbmHsKQkieQqsmfng1xxiIGZTq5N9sVspqpkRqWIsN-EaWdwJRVmC0XqHWj8Nt_2FZuukSdvKA2oujqT4f5nTEoCohviBYb-vPlUjEdX6d9qk5WhNhWUhBOk&quot; style=&quot;-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);&quot; width=&quot;421px;&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h2&gt;
&lt;span style=&quot;color: #0b5394; font-size: large;&quot;&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;Jak na Offline&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;Service Worker je JS script, který běží na pozadí v prohlížeči odděleně od webové stránky. Umožňuje programátorovi napsat libovolný kód na zpracování všech dotazů mezi aplikací a serverem.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;Jedním z využití je pak způsob jak uložit aplikace v prohlížeči pro použití bez připojení k internetu.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #0b5394; font-size: x-large; white-space: pre-wrap;&quot;&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2efd-5551-ed8f-0f7ade78e57b&quot;&gt;&lt;span style=&quot;color: black; font-size: 13.3333px; vertical-align: baseline;&quot;&gt;&lt;img height=&quot;200px;&quot; src=&quot;https://lh6.googleusercontent.com/O3bXx4l3OnNsAyblUWa3t8h6pnXPNh4QbHzNWeCt8zPb9e9_Wmj_LjyruLftYEauPTMHakE0rNZ_cfDvdmv7mQ1MSwsrAtL18NUizL0HquVyA5vpvqBXXfyEPdmiAUbe67aFLXs4&quot; style=&quot;border: none; transform: rotate(0rad);&quot; width=&quot;408px;&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2efd-6b6b-3b77-9b2bb5169aa3&quot;&gt;&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;(Zdroj a detailní možnosti: &lt;/span&gt;&lt;a href=&quot;https://jakearchibald.com/2014/offline-cookbook/&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;color: #1155cc; font-size: 13.3333px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;https://jakearchibald.com/2014/offline-cookbook/&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;margin-left: 0pt;&quot;&gt;
&lt;table style=&quot;border-collapse: collapse; border: none; width: 680px;&quot;&gt;&lt;colgroup&gt;&lt;col width=&quot;*&quot;&gt;&lt;/col&gt;&lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 0px;&quot;&gt;&lt;td style=&quot;background-color: #fafafa; border-bottom: solid #d9d9d9 1px; border-left: solid #d9d9d9 1px; border-right: solid #d9d9d9 1px; border-top: solid #d9d9d9 1px; padding: 7px 7px 7px 7px; vertical-align: top;&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #999988; font-family: Verdana; font-size: 13.333333333333332px; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;// Zaregistrujeme nový Service Worker&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;navigator.serviceWorker.register(&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #da2e75; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&#39;/sw.js&#39;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #999988; font-family: Verdana; font-size: 13.333333333333332px; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;// Ve workeru (sw.js) načteme soubory &lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #999988; font-family: Verdana; font-size: 13.333333333333332px; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;// a přidáme do ‘caches’ &amp;nbsp;...&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #999988; font-family: Verdana; font-size: 13.333333333333332px; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;// Ve workeru (sw.js) pak posloucháme &lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #999988; font-family: Verdana; font-size: 13.333333333333332px; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;// na dotazy prohlížeče&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: #333333; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;self&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #4caf50; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;addEventListener&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #4caf50; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #009688; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&#39;fetch&#39;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #4caf50; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #e4e4e4; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #b294bb; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #4caf50; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;event&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #4caf50; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #e4e4e4; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #4caf50; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #e4e4e4; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #e4e4e4; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;event&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #4caf50; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;respondWith&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #4caf50; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #e4e4e4; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #e4e4e4; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;caches&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #4caf50; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;match&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #4caf50; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;event&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #4caf50; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;request&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #4caf50; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;).&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;then&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #4caf50; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #b294bb; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;function&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #4caf50; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;response&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #4caf50; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;)&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #e4e4e4; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #4caf50; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;{&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #e4e4e4; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #e4e4e4; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #b294bb; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #e4e4e4; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;response&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #e4e4e4; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #6cc0b7; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;||&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #e4e4e4; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;fetch&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #4caf50; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;event&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #4caf50; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #333333; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;request&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #4caf50; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;); &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #999988; font-family: Verdana; font-size: 13.333333333333332px; font-style: italic; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;// Worker si může dělat s dotazem co chce&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #e4e4e4; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #e4e4e4; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #4caf50; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;})&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #e4e4e4; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #e4e4e4; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #4caf50; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;);&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #e4e4e4; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br class=&quot;kix-line-break&quot; /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: transparent; color: #4caf50; font-family: Verdana; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;});&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;&lt;span style=&quot;color: #444444;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;Pro inspiraci se pak můžeme podívat na následující aplikace (zdrojové soubory jsou vždy k dispozici):&lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;a href=&quot;https://voice-memos.appspot.com/&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #1155cc; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;https://voice-memos.appspot.com&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;a href=&quot;https://guitar-tuner.appspot.com/&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #1155cc; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;https://guitar-tuner.appspot.com&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;&quot;&gt;
&lt;a href=&quot;https://www.pokedex.org/&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;background-color: transparent; color: #1155cc; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;https://www.pokedex.org&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;background-color: transparent; color: black; font-family: Arial; font-size: 13.333333333333332px; font-style: normal; font-variant: normal; font-weight: 400; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2f04-dfc2-fe62-aa1297acc8ff&quot;&gt;&lt;a href=&quot;https://jakearchibald.github.io/jank-invaders/&quot; style=&quot;text-decoration: none;&quot;&gt;&lt;span style=&quot;color: #1155cc; font-size: 13.3333px; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;https://jakearchibald.github.io/jank-invaders/&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span id=&quot;docs-internal-guid-d6766271-2f12-24da-8579-7c94688b3a13&quot;&gt;&lt;span style=&quot;font-size: 13.3333px; vertical-align: baseline; white-space: pre-wrap;&quot;&gt;&lt;img height=&quot;424px;&quot; src=&quot;https://lh5.googleusercontent.com/tPx7EVoJXzopSCydxfaawOWP8uSiQJ_iXDaIwO2XS-IsoKfY9LkcGGCBXzY-wqf1d8fb9C1bQMleJ0PR9k2_tjIPrq5IkZSIZcrWPGWRJln31B8DM4NBRBZ7iLEKCRrCWVJfFd5N&quot; style=&quot;-webkit-transform: rotate(0.00rad); border: none; transform: rotate(0.00rad);&quot; width=&quot;680px;&quot; /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blog.mikota.cz/feeds/2913864403993434621/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.mikota.cz/2016/01/bleskurychle-webove-aplikace.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/955077994923150578/posts/default/2913864403993434621'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/955077994923150578/posts/default/2913864403993434621'/><link rel='alternate' type='text/html' href='http://blog.mikota.cz/2016/01/bleskurychle-webove-aplikace.html' title='Bleskurychlé webové aplikace'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13147529849554177162</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://lh6.googleusercontent.com/h-PkCQcvbYf-KwlwYZB3gbteB5nuD5Evi3x_9rb6ciBekZrqONnV3i2YEIxYmwgwn5alIyEt2xiwGShASScq0qa8R6Y_QAX7lcKTh2JAkdRn5G3AFz4WbNDLW-mSIKHcOvrqupvY=s72-c" height="72" width="72"/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-955077994923150578.post-1202277264769467407</id><published>2013-06-12T08:18:00.000+02:00</published><updated>2013-06-12T08:18:56.207+02:00</updated><title type='text'>Fun with JavaScript Arrays</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div&gt;
The first thing I usually run into when trying new programming languages are some weird corner case behaviors, so I decided to run into those on purpose and write one of my first blog posts about that.&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;js-operator&quot;&gt;&lt;br /&gt;Couple of notes before we begin:&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;I&#39;ve tried all those examples in Google Chrome Console - command+option+I on Mac and hopefully similar keys on Win/Linux&lt;/li&gt;
&lt;li&gt;When reading this article you might need to stop and think. Stop and Think!&lt;/li&gt;
&lt;li&gt;Also keep in mind that sometimes I&#39;m playing stupid, but sometimes I&#39;m actually stupid.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Let&#39;s say we have an array with three elements, this can&#39;t hurt&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-keyword&quot; style=&quot;color: #663300; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;var&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #777777;&quot;&gt;&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Ok, looks good&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Let&#39;s add something interesting&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Has this array changed?&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #777777;&quot;&gt;&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// No?&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// What about that element&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #9900cc;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Hmm, it&#39;s there&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// So what happens when we try something crazy&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;NaN&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #777777;&quot;&gt;&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Whoaaa&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Let&#39;s try couple of others&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;Infinity&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;P&quot;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;Infinity&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;NP&quot;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// No error yet, so let&#39;s do a little check&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;Infinity&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;===&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;Infinity&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;true&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #9900cc;&quot;&gt;&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Did I just prove that P=NP? Never-mind, we shouldn&#39;t get distracted&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// by unimportant problems. So how could I see what&#39;s inside a? console.log!&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;console&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-property&quot; style=&quot;color: #999966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;log&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;NaN&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;Infinity&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;NP&quot;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #777777;&quot;&gt;&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Hmm, this kinda looks like it&#39;s messed up array with object&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// So let&#39;s check&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-keyword&quot; style=&quot;color: #663300; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;typeof&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;object&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #339966;&quot;&gt;&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Type of array is object? Really?&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-keyword&quot; style=&quot;color: #663300; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;typeof&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;object&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #339966;&quot;&gt;&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Indeed it is, I almost forgot about this ~&#39;Good Part&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Now that I have entertained myself... inverting string bitwise, heh...&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Actually, what is the result?&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&#39;Good Part&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #9900cc;&quot;&gt;&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Yea...&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// But let&#39;s get back to adding wrong things to array&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-keyword&quot; style=&quot;color: #663300; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&#39;err&#39;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;SyntaxError&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;Unexpected&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;token&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #777777;&quot;&gt;&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Ok, that is actually wrong, so something else&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-keyword&quot; style=&quot;color: #663300; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;typeof&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;console&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-property&quot; style=&quot;color: #999966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;log&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;duh&quot;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&#39;~&#39;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&#39;&amp;lt;&#39;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-keyword&quot; style=&quot;color: #663300; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;typeof&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&#39;huh&#39;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;void&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&#39;puh&#39;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;js-keyword&quot; style=&quot;color: #663300; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;do&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&#39;break&#39;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&#39;thanks&#39;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-keyword&quot; style=&quot;color: #663300; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;continue&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;-&quot;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;you&quot;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;+&quot;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-keyword&quot; style=&quot;color: #663300; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;return&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-keyword&quot; style=&quot;color: #663300; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-variabledef&quot; style=&quot;color: #0099ff; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;p&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;{&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-keyword&quot; style=&quot;color: #663300; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;return&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-localvariable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;p&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #777777;&quot;&gt;&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// I&#39;m starting to feel bad about abusing this little array a so much.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Are you ok little fella?&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #777777;&quot;&gt;&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Like nothing had happened&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// So what about operators?&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;|&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;~a&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;amp;-&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;~a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;!&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #777777;&quot;&gt;&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Good, good, nicely reversed&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&#39;!&#39;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;5&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Whoaa? Dude?&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&#39;!&#39;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;NaN&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #9900cc;&quot;&gt;&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Oh yeah, I forgot about that I already have NaN in there&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// console.log will reveal other interesting things for sure&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;console&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-property&quot; style=&quot;color: #999966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;log&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;whitespace&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;Infinity&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;NP&quot;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;whitespace&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;whitespace&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;whitespace&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;whitespace&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;whitespace&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;NaN&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;5&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;whitespace&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;object&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;Object&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;thanks&quot;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;whitespace&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-keyword&quot; style=&quot;color: #663300; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;continue&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;N&quot;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;whitespace&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-keyword&quot; style=&quot;color: #663300; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;function&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;duh&quot;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;whitespace&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;length&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;whitespace&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;object&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;huh&quot;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;whitespace&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-keyword&quot; style=&quot;color: #663300; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;return&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-keyword&quot; style=&quot;color: #663300; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;function&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-variabledef&quot; style=&quot;color: #0099ff; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;p&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;{&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-keyword&quot; style=&quot;color: #663300; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;return&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-localvariable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;p&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;whitespace&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;undefined&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;puh&quot;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;whitespace&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;&amp;lt;&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #777777;&quot;&gt;&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Hmm, there are couple of nice ones&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-property&quot; style=&quot;color: #999966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;length&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #777777;&quot;&gt;&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Sorry for that&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;thanks&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&#39;[object Object]&#39;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;you&#39;re welcome&quot;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Also, where did that&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-comment&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;continue: &quot;N&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;nbsp;come from? Was that from example with N=NP?&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Not really... that actually reminds me of one episode from my famous&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// &quot;JavaScript sucks&quot; series:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// You should try this one. Just put the following into your favorite JS console:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Or are you afraid of JavaScript? :)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot; &quot;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;~&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;/./&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;/^/&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;4&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;+!!&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;^3&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;+!!&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;_&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;$&quot;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;+&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;!&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// ... result stripped ... I won&#39;t make it that easy for you.&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Let&#39;s reveal one of the sneaky ones&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// (that has actually nothing to do with arrays):&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;100&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;&lt;span class=&quot;js-string&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;Never gonna \&lt;/span&gt;&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;&lt;span class=&quot;js-string&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;give you up,&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;101&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #38761d;&quot;&gt;&lt;span class=&quot;js-string&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;Never gonna \&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;&lt;span class=&quot;js-variable&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;let&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;you&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;down&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&quot;;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;SyntaxError&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;Unexpected&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;token&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;ILLEGAL&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Wow ... I thing I have been just Rickrolled by Chrome interpreter&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// and I thought he would never gonna run around and desert me&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Do you know how this happened? BroTip: Try to copypaste it into your console.&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Talking about Syntax Errors, let&#39;s say we need a function that performs&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// this importing-like functionality for us. Let&#39;s call it import.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-keyword&quot; style=&quot;color: #663300; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;function&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;import&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;SyntaxError&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;Unexpected&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;token&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;import&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmBZjTsvW4JYQVHp49xJsLpqv9VpcBRO49WUUhBy3Jz_W72cJw8BAISbhKqN-EefuAeczO1rJ4zR9PDV9_DSduSHrFKIYE_EiEVsh56M1UI3h0ZcdyeLr6bDUBXP_r8Xu2e5GXMrjCkLY/s1600/nobody.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;238&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmBZjTsvW4JYQVHp49xJsLpqv9VpcBRO49WUUhBy3Jz_W72cJw8BAISbhKqN-EefuAeczO1rJ4zR9PDV9_DSduSHrFKIYE_EiEVsh56M1UI3h0ZcdyeLr6bDUBXP_r8Xu2e5GXMrjCkLY/s320/nobody.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;&lt;/span&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// One thing I haven&#39;t tried yet is doing a bit of recursion in array&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-property&quot; style=&quot;color: #999966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;me&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;console&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-property&quot; style=&quot;color: #999966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;log&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;me&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;Array&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// striped other previously messed up things&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;console&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-property&quot; style=&quot;color: #999966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;log&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-property&quot; style=&quot;color: #999966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;me&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-property&quot; style=&quot;color: #999966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;me&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-property&quot; style=&quot;color: #999966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;me&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;me&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;Array&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;3&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #777777;&quot;&gt;&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// If you would run the same thing in Node.JS you would see more explanatory&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;console&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-property&quot; style=&quot;color: #999966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;log&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-property&quot; style=&quot;color: #999966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;me&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-property&quot; style=&quot;color: #999966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;me&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-property&quot; style=&quot;color: #999966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;me&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;me&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;Circular&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #777777;&quot;&gt;&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Let&#39;s run simple one liner to try to iterate through recursive object&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-keyword&quot; style=&quot;color: #663300; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-keyword&quot; style=&quot;color: #663300; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;var&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;me&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;console&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;log&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;++&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;0&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;26012391&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #777777;&quot;&gt;&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Ok, Node.JS is still running, no simple way to kill it.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// What about Chrome console?&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-keyword&quot; style=&quot;color: #663300; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-keyword&quot; style=&quot;color: #663300; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;var&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;me&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;console&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;log&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;++&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;0&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;314&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;2679&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #777777;&quot;&gt;&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Chrome died. Goodbye a. See you in Silicon Heaven.&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// That reminds me of good old times when I tried to view 5MB XML without&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// line breakings&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;in Chrome, Opera, IE, Firefox...&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Let&#39;s start chrome console again with clean array&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-keyword&quot; style=&quot;color: #663300; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;var&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-property&quot; style=&quot;color: #999966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;me&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Hmm I need to add some elem to array, so I can just copypaste that loop again&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;2&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;[&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;undefined&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;×&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;]&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #777777;&quot;&gt;&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// That&#39;s interesting - array is &#39;filled up&#39; with undefineds and Chrome&lt;br /&gt;// prints that out neatly&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Let&#39;s test how long this loop take&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;console&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-property&quot; style=&quot;color: #999966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&#39;evt&#39;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-keyword&quot; style=&quot;color: #663300; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-keyword&quot; style=&quot;color: #663300; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;var&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-property&quot; style=&quot;color: #999966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;me&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;i&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;lt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;10000&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;console&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;log&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;++&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;console&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-property&quot; style=&quot;color: #999966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;timeEnd&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&#39;evt&#39;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;evt&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1552.587&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;ms&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0066cc;&quot;&gt;&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Let&#39;s try the same thing with object to see if there&#39;s any difference&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-keyword&quot; style=&quot;color: #663300; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;var&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;o&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;}&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;o&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-property&quot; style=&quot;color: #999966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;me&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;o&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;console&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-property&quot; style=&quot;color: #999966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;time&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&#39;evt&#39;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-keyword&quot; style=&quot;color: #663300; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;for&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-keyword&quot; style=&quot;color: #663300; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;var&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;0&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;o&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;c&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-property&quot; style=&quot;color: #999966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;me&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;i&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;lt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;10000&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;console&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;log&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;i&lt;/span&gt;&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;++&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;console&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;js-property&quot; style=&quot;color: #999966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;timeEnd&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;js-string&quot; style=&quot;color: #339966; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&#39;evt&#39;&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;evt&lt;/span&gt;&lt;span class=&quot;js-punctuation&quot; style=&quot;color: #777777; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;:&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;1610.678&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;ms&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #0066cc;&quot;&gt;&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;&lt;/span&gt;&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// Not really - so what to take from this:&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;Arrays are Objects, essentially.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// And yes, proving that by executing console.log multiple times is just&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;//&lt;/span&gt;&lt;span style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;nbsp;plain stupid.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot; /&gt;
&lt;span class=&quot;js-comment&quot; style=&quot;color: #888888; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;// One last interesting thing&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-operator&quot; style=&quot;font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;js-variable&quot; style=&quot;color: #0066cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;i&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;js-atom&quot; style=&quot;color: #9900cc; font-family: monospace; font-size: 13px; white-space: nowrap;&quot;&gt;10000&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
There are not many languages where you can access index from for loop after the loop ends. JavaScript is one of them, since it uses function scopes rather than block scopes and variable declarations are hoisted to the top of a function, but about that later.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Let&#39;s stop making fun of languages that suck and let&#39;s continue with that next time. We will have a look at comparing things. Also note that I really enjoy programming in JavaScript, but that doesn&#39;t mean I cannot rant about it&#39;s bad parts. And it&#39;s good parts. And my job and everything.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Do you like what you have just read? Do you hate it? Leave me a comment!&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://blog.mikota.cz/feeds/1202277264769467407/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.mikota.cz/2013/06/fun-with-javascript-arrays.html#comment-form' title='393 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/955077994923150578/posts/default/1202277264769467407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/955077994923150578/posts/default/1202277264769467407'/><link rel='alternate' type='text/html' href='http://blog.mikota.cz/2013/06/fun-with-javascript-arrays.html' title='Fun with JavaScript Arrays'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13147529849554177162</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmBZjTsvW4JYQVHp49xJsLpqv9VpcBRO49WUUhBy3Jz_W72cJw8BAISbhKqN-EefuAeczO1rJ4zR9PDV9_DSduSHrFKIYE_EiEVsh56M1UI3h0ZcdyeLr6bDUBXP_r8Xu2e5GXMrjCkLY/s72-c/nobody.jpg" height="72" width="72"/><thr:total>393</thr:total></entry><entry><id>tag:blogger.com,1999:blog-955077994923150578.post-6143945710694428955</id><published>2012-01-30T23:06:00.000+01:00</published><updated>2012-01-30T23:06:04.385+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PAR"/><title type='text'>PAR - Pohádka na dobrou noc - CBT do Qn</title><content type='html'>Byla jednou jedna malá hyperkrychlička se stupněm uzlu 3. Ráda si hrála se všemi ostatními malými sítěmi, společně vnořovaly, permutovaly, přepínaly červí díry a dělaly všemožné jiné vrtochy. Jednoho krásného kroku si ale malá Qn všimla, že na rohu, zcela mimo ortogonální, hyperkubické, i ty sobecké MIN, sedí malý CBT s hloubkou 2. Jelikož byla krychlička od srdce optimální, tak neváhala a nejprve po ose X, pak po ose Y a nakonec po ose Z doinvertovala k malému CBT. „Stromečku, co tu jsi tak sám? Nikdo si s tebou neprefixuje, ani neřadí?“ „Hm“, zašeptal malý CBT. Krychlička hned pokračovala: „Mohli bychom si spolu zavnořovat, co myslíš?“ Stromeček se smutně podrbal na listu: „Když já ale nevím jak. Maminka říkala, že maximálně jednu hranu můžu dilatovat na dvě.“ Krychlička se jen na chvilku zamyslela: „Myslím, že mé tři Kartézské součiny by ti mohly pomoci, jen jeden malý uzel ti přidáme,“ zajásala krychlička a pokračovala: „Vezmi si mou polovinu, tvé jedno rameno a podívej, jak krásně se celé vejde, když mu kořen zdvojíš.“ CBT ale stále nevěřil: „Ale to je jen jedno mé rameno, co kdybych se chtěl vnořit celý?“. I na to měla krychlička rychlou odpověď: „Ale stromečku, proč mi nevěříš, podívej, stoupni si před zrdcadlo isomorfismu, chyťte se společně za tři body.“ „Ale to utvoříme cykly,“ opáčil stromeček. Krychlička se ale nedala: „Kdybys mi neskákal do nejvyššího bitu, tak bych dořekla, že musíte své dvě hrany zahodit a indukčně poskočit. Tak co? Vidíš to?“ Stromeček se se svým odrazem chvilku oklepávali a překreslovali, ale pak mu to trklo: „Vždyť my jsme jeden strom vyšší dimenze! Děkuji ti krychličko, ty jsi mě zachránila. Takhle už budu vždycky vědět, že pro vnoření do o dimenzi větší krychle stačí protáhnout kořen, ukročit vpravo a vesele podgrafovat.“ A tak spolu permutovali, dokud je 12 bodů nerozdělilo. &lt;br /&gt;
&lt;br /&gt;
Dobrou noc děti.</content><link rel='replies' type='application/atom+xml' href='http://blog.mikota.cz/feeds/6143945710694428955/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.mikota.cz/2012/01/par-pohadka-na-dobrou-noc-cbt-do-qn.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/955077994923150578/posts/default/6143945710694428955'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/955077994923150578/posts/default/6143945710694428955'/><link rel='alternate' type='text/html' href='http://blog.mikota.cz/2012/01/par-pohadka-na-dobrou-noc-cbt-do-qn.html' title='PAR - Pohádka na dobrou noc - CBT do Qn'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13147529849554177162</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-955077994923150578.post-6173953515318636084</id><published>2011-03-28T09:32:00.003+02:00</published><updated>2011-03-28T10:07:47.589+02:00</updated><title type='text'>Jak jsem vařil</title><content type='html'>Už jako malý jsem se motal v kuchyni a teď s tím nehodlám přestat a tak popíjím a popíjím a motám a motám. Ale k věci. Řekl jsem si, že by nebylo od věci kdybych se pokusil nějaký ten krutopřísný drsný monster massive turbo faster ultra master mega blaster gangsta nigga pyčo sáňky borový prsty v uchu kotel největší vožeh mazec mega power star-trek interceptor megamix ultrapárty... uvařit! Ženský to beztak dělaj v jednom kuse, tak na tom přeci nemuže bejt nic těžkýho. První pokus se mi bezpečně podařilo uhasit zadupáním do země. Při dalším pokusu stačilo jednoduše seškrábnout tu rozesmátou kaši ze stropu na talíř a uklidit střepy po rozbitém talíři. Toto prvotní zaváhání jsem jen přešel s povzdechem a řekl jsem si, že k problému přistoupím správně FELácky (a nově FIŤácky), leč (má krátké nohy) jsem byl nesmírně zklamán, neboť v kuchařkách na internetech nepíšou potřebné míry v cm&lt;sup&gt;2&lt;/sup&gt;, ale je to v nějakejch nestandardizovanejch miskách, hrníčcích a hrstích. Vytvořil jsem si proto jednoduchý vzorec pro přepočet z hrstí na sudy, ze sudů na kýble, z kýblů Kandely, z těch na Fahrady, odtud na Volty, na Jouly, na Bajty, na bity, na... sranej jsem z toho byl, ale nakonec jsem přeci jen začal vřít vodu v hrnci třeném ebonitovou tyčí.</content><link rel='replies' type='application/atom+xml' href='http://blog.mikota.cz/feeds/6173953515318636084/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.mikota.cz/2011/03/jak-jsem-varil.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/955077994923150578/posts/default/6173953515318636084'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/955077994923150578/posts/default/6173953515318636084'/><link rel='alternate' type='text/html' href='http://blog.mikota.cz/2011/03/jak-jsem-varil.html' title='Jak jsem vařil'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13147529849554177162</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-955077994923150578.post-7652443113725344575</id><published>2011-03-26T18:50:00.002+01:00</published><updated>2011-03-28T09:30:37.003+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="java"/><title type='text'>The very first thing at my blog</title><content type='html'>Look out! There&#39;s a giant anteater behind you!!&lt;br /&gt;
&lt;br /&gt;
I hope this blog will be more&lt;br /&gt;
&lt;pre&gt;print(&quot;Ahoj světe&quot;)&lt;/pre&gt;than&lt;br /&gt;
&lt;pre&gt;public static void main(String args[]) {
 System.out.println(&quot;Hallo welt!&quot;);
}
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.mikota.cz/feeds/7652443113725344575/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.mikota.cz/2011/03/very-first-thing-at-my-blog.html#comment-form' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/955077994923150578/posts/default/7652443113725344575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/955077994923150578/posts/default/7652443113725344575'/><link rel='alternate' type='text/html' href='http://blog.mikota.cz/2011/03/very-first-thing-at-my-blog.html' title='The very first thing at my blog'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/13147529849554177162</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>14</thr:total></entry></feed>