This commit is contained in:
Ilya Kantor 2019-07-27 17:30:44 +03:00
parent 63dc4cddd4
commit 2277f2f44a
21 changed files with 445 additions and 82 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

View file

@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="500px" height="264px" viewBox="0 0 500 264" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: sketchtool 55.2 (78181) - https://sketchapp.com -->
<title>ifelse_task2.svg</title>
<desc>Created with sketchtool.</desc>
<g id="combined" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="ifelse_task2.svg">
<path id="Path-1218-Copy" d="M422.5,187.5 L422.5,136.5 L342,136.5 L340.5,136.5 L340.5,133.5 L425.5,133.5 L425.5,187.5 L433.5,187.5 L424,206.5 L414.5,187.5 L422.5,187.5 Z" fill="#EE6B47" fill-rule="nonzero"></path>
<g id="Rectangle-1-+-Корень" transform="translate(213.000000, 4.000000)">
<rect id="Rectangle-1" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB" x="1" y="1" width="78" height="28" rx="14"></rect>
<text id="Begin" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="21" y="19">Begin</tspan>
</text>
</g>
<g id="Rectangle-1-+-Корень-Copy-2" transform="translate(8.000000, 206.000000)">
<rect id="Rectangle-1" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB" x="1" y="1" width="131" height="49" rx="24.5"></rect>
<text id="You-don't-know?-“ECM" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="13.3540039" y="20">You don't know?</tspan>
<tspan x="21.9672852" y="39">“ECMAScript”!</tspan>
</text>
</g>
<g id="Rectangle-1-+-Корень-Copy-3" transform="translate(354.000000, 206.000000)">
<rect id="Rectangle-1" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB" x="1" y="1" width="131" height="49" rx="24.5"></rect>
<text id="Right!" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="47.9301758" y="28">Right!</tspan>
</text>
</g>
<path id="Line" d="M252,57.0499687 L252,34 L255,34 L255,57.0499687 L263,57.0499687 L253.5,76.0499687 L244,57.0499687 L252,57.0499687 Z" fill="#EE6B47" fill-rule="nonzero"></path>
<path id="Path-1218" d="M77.5,187.5 L77.5,133.5 L139.5,133.5 L139.5,136.5 L80.5,136.5 L80.5,187.5 L88.5,187.5 L79,206.5 L69.5,187.5 L77.5,187.5 Z" fill="#EE6B47" fill-rule="nonzero"></path>
<rect id="Rectangle-356" fill="#FFFFFF" x="47" y="152" width="60" height="20"></rect>
<g id="Rectangle-354-+-Каково-“официальное”" transform="translate(137.000000, 76.000000)">
<path d="M2.1985673,59.5 L116.5,117.877127 L230.801433,59.5 L116.5,1.12287343 L2.1985673,59.5 Z" id="Rectangle-354" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB"></path>
<text id="What's-the-“official" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="81.0263672" y="43">What's the</tspan>
<tspan x="60.6347656" y="62">“official” name of</tspan>
<tspan x="80.7700195" y="81">JavaScript?</tspan>
</text>
</g>
<text id="Other" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="57" y="166">Other</tspan>
</text>
<rect id="Rectangle-356-Copy" fill="#FFFFFF" x="387" y="152" width="60" height="20"></rect>
<text id="ECMAScript" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="383" y="165">ECMAScript</tspan>
</text>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 0 B

After

Width:  |  Height:  |  Size: 3.8 KiB

Before After
Before After

View file

@ -0,0 +1,101 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="599px" height="493px" viewBox="0 0 599 493" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: sketchtool 55.2 (78181) - https://sketchapp.com -->
<title>ifelse_task.svg</title>
<desc>Created with sketchtool.</desc>
<g id="combined" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="ifelse_task.svg">
<path id="Path-1218-Copy" d="M526.5,419.5 L526.5,329.5 L446,329.5 L444.5,329.5 L444.5,326.5 L529.5,326.5 L529.5,419.5 L537.5,419.5 L528,438.5 L518.5,419.5 L526.5,419.5 Z" fill="#EE6B47" fill-rule="nonzero"></path>
<path id="Path-1218-Copy" d="M369.5,257.5 L369.5,134.5 L289,134.5 L287.5,134.5 L287.5,131.5 L372.5,131.5 L372.5,257.5 L380.5,257.5 L371,276.5 L361.5,257.5 L369.5,257.5 Z" fill="#EE6B47" fill-rule="nonzero"></path>
<g id="Rectangle-1-+-Корень" transform="translate(180.000000, 4.000000)">
<rect id="Rectangle-1" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB" x="1" y="1" width="78" height="28" rx="14"></rect>
<text id="Begin" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="17" y="19">Begin</tspan>
</text>
</g>
<g id="Rectangle-1-+-Корень-Copy-2" transform="translate(0.000000, 243.000000)">
<rect id="Rectangle-1" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB" x="1" y="1" width="131" height="49" rx="24.5"></rect>
<text id="Canceled" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="36.6474609" y="29">Canceled</tspan>
</text>
</g>
<g id="Rectangle-1-+-Корень-Copy-5" transform="translate(150.000000, 438.000000)">
<rect id="Rectangle-1" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB" x="1" y="1" width="131" height="49" rx="24.5"></rect>
<text id="Canceled" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="36.6474609" y="29">Canceled</tspan>
</text>
</g>
<g id="Rectangle-1-+-Корень-Copy-6" transform="translate(458.000000, 438.000000)">
<rect id="Rectangle-1" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB" x="1" y="1" width="131" height="49" rx="24.5"></rect>
<text id="Welcome!" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="35.0932617" y="29">Welcome!</tspan>
</text>
</g>
<g id="Rectangle-1-+-Корень-Copy-4" transform="translate(154.000000, 243.000000)">
<rect id="Rectangle-1" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB" x="1" y="1" width="131" height="49" rx="24.5"></rect>
<text id="I-don't-know-you" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="12.7729492" y="28">I don't know you</tspan>
</text>
</g>
<g id="Rectangle-1-+-Корень-Copy-7" transform="translate(296.000000, 438.000000)">
<rect id="Rectangle-1" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB" x="1" y="1" width="147" height="49" rx="24.5"></rect>
<text id="Wrong-password" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="18.1518555" y="29">Wrong password</tspan>
</text>
</g>
<path id="Line" d="M219,58.0499687 L219,35 L222,35 L222,58.0499687 L230,58.0499687 L220.5,77.0499687 L211,58.0499687 L219,58.0499687 Z" fill="#EE6B47" fill-rule="nonzero"></path>
<path id="Path-1218" d="M69.3890337,219.547739 L69.3890337,131.366765 L131.691299,131.366765 L131.691299,134.366765 L72.3890337,134.366765 L72.3890337,219.547739 L80.3890337,219.547739 L70.8890337,238.547739 L61.3890337,219.547739 L69.3890337,219.547739 Z" fill="#EE6B47" fill-rule="nonzero"></path>
<path id="Path-1218-Copy-2" d="M219.065358,419.494817 L219.394323,326.366765 L281.691299,326.366765 L281.691299,329.366765 L222.383744,329.366765 L222.065339,419.505414 L230.06529,419.533673 L220.498234,438.499997 L211.065408,419.466558 L219.065358,419.494817 Z" fill="#EE6B47" fill-rule="nonzero"></path>
<g id="Rectangle-354-+-Каково-“официальное”" transform="translate(127.000000, 81.000000)">
<path d="M2.05929887,52 L93.6102814,102.856071 L185.161264,52 L93.6102814,1.14392927 L2.05929887,52 Z" id="Rectangle-354" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB"></path>
<text id="Who's-there?" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="51.722168" y="55">Who's there?</tspan>
</text>
</g>
<g id="Rectangle-354-+-Каково-“официальное”-Copy" transform="translate(277.000000, 276.000000)">
<path d="M2.05929887,52 L93.6102814,102.856071 L185.161264,52 L93.6102814,1.14392927 L2.05929887,52 Z" id="Rectangle-354" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB"></path>
<text id="Password?" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="59.0297852" y="55">Password?</tspan>
</text>
</g>
<g id="Rectangle-356-+-Отмена" transform="translate(39.000000, 191.000000)">
<rect id="Rectangle-356" fill="#FFFFFF" x="0" y="2" width="60" height="20"></rect>
<text id="Cancel" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="7.5" y="15">Cancel</tspan>
</text>
</g>
<g id="Rectangle-356-+-Отмена-Copy" transform="translate(189.000000, 384.000000)">
<rect id="Rectangle-356" fill="#FFFFFF" x="0" y="2" width="60" height="20"></rect>
<text id="Cancel" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="7.5" y="15">Cancel</tspan>
</text>
</g>
<g id="Rectangle-356-Copy-+-“Админ”" transform="translate(341.000000, 191.000000)">
<rect id="Rectangle-356-Copy" fill="#FFFFFF" x="0" y="2" width="60" height="20"></rect>
<text id="Admin" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="7.70263672" y="15">Admin</tspan>
</text>
</g>
<g id="Rectangle-356-Copy-+-“Админ”-Copy" transform="translate(493.000000, 384.000000)">
<rect id="Rectangle-356-Copy" fill="#FFFFFF" x="7" y="2" width="60" height="20"></rect>
<text id="TheMaster" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="0.095703125" y="15">TheMaster</tspan>
</text>
</g>
<path id="Line" d="M220,224.560081 L220,182 L223,182 L223,224.560081 L231,224.560081 L221.5,243.560081 L212,224.560081 L220,224.560081 Z" fill="#EE6B47" fill-rule="nonzero"></path>
<path id="Line-Copy-2" d="M370,419.560081 L370,377 L373,377 L373,419.560081 L381,419.560081 L371.5,438.560081 L362,419.560081 L370,419.560081 Z" fill="#EE6B47" fill-rule="nonzero"></path>
<g id="Rectangle-356-Copy-2-+-“Админ”-Copy" transform="translate(191.000000, 191.000000)">
<rect id="Rectangle-356-Copy-2" fill="#FFFFFF" x="0" y="2" width="60" height="20"></rect>
<text id="Other" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="9.99609375" y="15">Other</tspan>
</text>
</g>
<g id="Rectangle-356-Copy-2-+-“Админ”-Copy-Copy" transform="translate(341.000000, 384.000000)">
<rect id="Rectangle-356-Copy-2" fill="#FFFFFF" x="0" y="2" width="60" height="20"></rect>
<text id="Other" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="9.99609375" y="15">Other</tspan>
</text>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 0 B

After

Width:  |  Height:  |  Size: 8.6 KiB

Before After
Before After

View file

@ -50,7 +50,7 @@ Congratulations! You've set a breakpoint. Please also click on the number for li
It should look like this (blue is where you should click):
![](chrome-sources-breakpoint.png)
![](chrome-sources-breakpoint.svg)
A *breakpoint* is a point of code where the debugger will automatically pause the JavaScript execution.
@ -93,7 +93,7 @@ In our example, `hello()` is called during the page load, so the easiest way to
As the breakpoint is set, the execution pauses at the 4th line:
![](chrome-sources-debugger-pause.png)
![](chrome-sources-debugger-pause.svg)
Please open the informational dropdowns to the right (labeled with arrows). They allow you to examine the current code state:
@ -125,7 +125,7 @@ There are buttons for it at the top of the right pane. Let's engage them.
Here's what we can see after a click on it:
![](chrome-sources-debugger-trace-1.png)
![](chrome-sources-debugger-trace-1.svg)
The execution has resumed, reached another breakpoint inside `say()` and paused there. Take a look at the "Call stack" at the right. It has increased by one more call. We're inside `say()` now.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 197 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 152 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 142 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 112 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 119 KiB

After

Width:  |  Height:  |  Size: 120 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Before After
Before After

View file

@ -28,7 +28,7 @@ It works like this:
2. If there were no errors, then `catch(err)` is ignored: the execution reaches the end of `try` and then jumps over `catch`.
3. If an error occurs, then `try` execution is stopped, and the control flows to the beginning of `catch(err)`. The `err` variable (can use any name for it) contains an error object with details about what's happened.
![](try-catch-flow.png)
![](try-catch-flow.svg)
So, an error inside the `try {…}` block does not kill the script: we have a chance to handle it in `catch`.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

View file

@ -1,54 +1,57 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="488px" height="405px" viewBox="0 0 488 405" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg width="514px" height="411px" viewBox="0 0 514 411" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: sketchtool 55.2 (78181) - https://sketchapp.com -->
<title>try-catch-flow.svg</title>
<desc>Created with sketchtool.</desc>
<g id="combined" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="try-catch-flow.svg">
<g id="Rectangle-1-+-Корень" transform="translate(188.000000, 4.000000)">
<g id="Rectangle-1-+-Корень" transform="translate(207.000000, 4.000000)">
<rect id="Rectangle-1" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB" x="1" y="1" width="78" height="28" rx="14"></rect>
<text id="Begin" font-family="Consolas" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="17" y="19">Begin</tspan>
<text id="Begin" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="21" y="20">Begin</tspan>
</text>
</g>
<g id="Rectangle-1-+-Корень-Copy-2" transform="translate(294.000000, 262.000000)"></g>
<path id="Line" d="M227,57.0499687 L227,34 L230,34 L230,57.0499687 L238,57.0499687 L228.5,76.0499687 L219,57.0499687 L227,57.0499687 Z" fill="#EE6B47" fill-rule="nonzero"></path>
<path id="Line-Copy" d="M377,320.049969 L377,297 L380,297 L380,320.049969 L388,320.049969 L378.5,339.049969 L369,320.049969 L377,320.049969 Z" fill="#EE6B47" fill-rule="nonzero"></path>
<path id="Path-1218" d="M77.5,219.5 L77.5,131.5 L139.5,131.5 L139.5,134.5 L80.5,134.5 L80.5,219.5 L88.5,219.5 L79,238.5 L69.5,219.5 L77.5,219.5 Z" fill="#EE6B47" fill-rule="nonzero"></path>
<path id="Path-1218-Copy" d="M317.5,219.5 L317.5,131.5 L379.5,131.5 L379.5,134.5 L320.5,134.5 L320.5,219.5 L328.5,219.5 L319,238.5 L309.5,219.5 L317.5,219.5 Z" fill="#EE6B47" fill-rule="nonzero"></path>
<g id="Rectangle-354-+-Каково-“официальное”" transform="translate(135.000000, 81.000000)" fill="#FFF9EB" stroke="#E8C48E" stroke-width="2">
<g id="Rectangle-1-+-Корень-Copy-2" transform="translate(313.000000, 262.000000)"></g>
<path id="Line" d="M246,57.0499687 L246,34 L249,34 L249,57.0499687 L257,57.0499687 L247.5,76.0499687 L238,57.0499687 L246,57.0499687 Z" fill="#EE6B47" fill-rule="nonzero"></path>
<path id="Line-Copy" d="M396,320.049969 L396,297 L399,297 L399,320.049969 L407,320.049969 L397.5,339.049969 L388,320.049969 L396,320.049969 Z" fill="#EE6B47" fill-rule="nonzero"></path>
<path id="Path-1218" d="M96.5,219.5 L96.5,131.5 L158.5,131.5 L158.5,134.5 L99.5,134.5 L99.5,219.5 L107.5,219.5 L98,238.5 L88.5,219.5 L96.5,219.5 Z" fill="#EE6B47" fill-rule="nonzero"></path>
<path id="Path-1218-Copy" d="M397.5,219.5 L397.5,134.5 L317,134.5 L315.5,134.5 L315.5,131.5 L400.5,131.5 L400.5,219.5 L408.5,219.5 L399,238.5 L389.5,219.5 L397.5,219.5 Z" fill="#EE6B47" fill-rule="nonzero"></path>
<g id="Rectangle-354-+-Каково-“официальное”" transform="translate(154.000000, 81.000000)" fill="#FFF9EB" stroke="#E8C48E" stroke-width="2">
<path d="M2.05929887,52 L93.6102814,102.856071 L185.161264,52 L93.6102814,1.14392927 L2.05929887,52 Z" id="Rectangle-354"></path>
</g>
<g id="Rectangle-356-+-Отмена" transform="translate(40.000000, 178.000000)">
<rect id="Rectangle-356" fill="#FFFFFF" x="0" y="0" width="60" height="20"></rect>
<text id="No-Errors" font-family="Consolas" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="7.5" y="13">No Errors</tspan>
<g id="Rectangle-356-+-Отмена" transform="translate(59.000000, 177.000000)">
<rect id="Rectangle-356" fill="#FFFFFF" x="0" y="2" width="60" height="20"></rect>
<text id="No-Errors" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="7.5" y="15">No Errors</tspan>
</text>
</g>
<g id="Rectangle-356-Copy-+-“Админ”" transform="translate(270.000000, 178.000000)">
<rect id="Rectangle-356-Copy" fill="#FFFFFF" x="79" y="0" width="60" height="20"></rect>
<text id="An-error-occured-in" font-family="Consolas" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="0.23828125" y="13">An error occured in the code</tspan>
<g id="Rectangle-356-Copy-+-“Админ”" transform="translate(303.000000, 176.000000)">
<rect id="Rectangle-356-Copy" fill="#FFFFFF" x="65" y="2" width="60" height="20"></rect>
<text id="An-error-occured-in" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="0.932128906" y="15">An error occured in the code</tspan>
</text>
</g>
<rect id="Rectangle-1-Copy-2" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB" x="288" y="349" width="186" height="49" rx="24.5"></rect>
<text id="try-{-//-code...-}" font-family="Consolas" font-size="14" font-weight="normal" line-spacing="10" fill="#8A704D">
<tspan x="201" y="115">try {</tspan>
<tspan x="202.702148" y="128.330078"></tspan>
<tspan x="201" y="135"> // code...</tspan>
<tspan x="202.702148" y="148.330078"></tspan>
<tspan x="201" y="155">}</tspan>
<rect id="Rectangle-1-Copy-2" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB" x="292" y="349" width="214" height="49" rx="24.5"></rect>
<rect id="Rectangle-1" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB" x="1" y="244" width="195" height="49" rx="24.5"></rect>
<rect id="Rectangle-1-Copy" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB" x="290" y="244" width="216" height="49" rx="24.5"></rect>
<text id="Ignore-catch-block" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="39" y="272">Ignore catch block</tspan>
</text>
<rect id="Rectangle-1" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB" x="9" y="244" width="159" height="49" rx="24.5"></rect>
<rect id="Rectangle-1-Copy" stroke="#E8C48E" stroke-width="2" fill="#FFF9EB" x="288" y="244" width="186" height="49" rx="24.5"></rect>
<text id="Ignore-catch-block" font-family="Consolas" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="17" y="272">Ignore catch block</tspan>
<text id="Ignore-the-rest-of-t" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="332" y="272">Ignore the rest of try</tspan>
</text>
<text id="Ignore-the-rest-of-t" font-family="Consolas" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="294" y="272">Ignore the rest of try</tspan>
<text id="Execute-catch-block" font-family="OpenSans-Regular, Open Sans" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="333" y="379">Execute catch block</tspan>
</text>
<text id="Execute-catch-block" font-family="Consolas" font-size="14" font-weight="normal" fill="#8A704D">
<tspan x="306" y="376">Execute catch block</tspan>
<text id="try-{-}" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal" line-spacing="10" fill="#8A704D">
<tspan x="218" y="117">try {</tspan>
<tspan x="218.49" y="129.809906"></tspan>
<tspan x="218.49" y="139.809906"></tspan>
<tspan x="218.49" y="149.809906"></tspan>
<tspan x="218" y="157">}</tspan>
</text>
<text id="//-code..." font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal" line-spacing="10" fill="#8A704D">
<tspan x="232" y="138">// code...</tspan>
</text>
</g>
</g>

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

98
images.yml Normal file
View file

@ -0,0 +1,98 @@
ifelse_task2.svg:
Begin: ''
You don't know?: ''
“ECMAScript”!: ''
Right!: ''
What's the: ''
“official” name of: ''
JavaScript?: ''
Other: ''
ECMAScript: ''
ifelse_task.svg:
Begin: ''
Canceled: ''
Welcome!: ''
I don't know you: ''
Wrong password: ''
Who's there?: ''
Password?: ''
Cancel: ''
Admin: ''
TheMaster: ''
Other: ''
chrome-sources-breakpoint.svg:
here's the list: ''
breakpoints: ''
chrome-sources-debugger-pause.svg:
'1': ''
'2': ''
'3': ''
jump to the outer function: ''
watch expressions: ''
current variables: ''
chrome-sources-debugger-trace-1.svg:
nested calls: ''
toolbarButtonGlyphs.svg: {}
code-style.svg:
'2': ''
No space: ''
between the function name and parentheses: ''
between the parentheses and the parameter: ''
Indentation: ''
2 spaces: ''
'A space ': ''
after for/if/while…: ''
'} else { without a line break': ''
Spaces around a nested call: ''
An empty line: ''
between logical blocks: ''
Lines are not very long: ''
A semicolon ;: ''
is mandatory: ''
Spaces: ''
around operators: ''
'Curly brace {': ''
'on the same line, after a space': ''
A space: ''
between: ''
parameters: ''
A space between parameters: ''
recursion-pow.svg:
'pow(x,n)': ''
x: ''
'x * pow(x, n-1)': ''
n == 1 ?: ''
'Yes': ''
'No': ''
recursive call until n==1: ''
try-catch-flow.svg:
Begin: ''
No Errors: ''
An error occured in the code: ''
Ignore catch block: ''
Ignore the rest of try: ''
Execute catch block: ''
'try {': ''
'': ''
'}': ''
// code...: ''
statusbarButtonGlyphs.svg:
'!': ''
field.svg: {}
placeholder.svg: {}
logo-fetch.svg: {}
demo.svg:
'1': ''