Skip to content

Commit c5885a6

Browse files
committed
Merge branch 'master' of github.com:javascript-tutorial/en.javascript.info into sync-540d753e
2 parents 885ef1f + 540d753 commit c5885a6

File tree

10 files changed

+5
-5
lines changed

10 files changed

+5
-5
lines changed

1-js/01-getting-started/4-devtools/article.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The developer tools will open on the Console tab by default.
2222

2323
It looks somewhat like this:
2424

25-
![chrome](chrome.png)
25+
![chrome](chrome.webp)
2626

2727
The exact look of developer tools depends on your version of Chrome. It changes from time to time but should be similar.
2828

@@ -49,7 +49,7 @@ The look & feel of them is quite similar. Once you know how to use one of these
4949

5050
Safari (Mac browser, not supported by Windows/Linux) is a little bit special here. We need to enable the "Develop menu" first.
5151

52-
Open Preferences and go to the "Advanced" pane. There's a checkbox at the bottom:
52+
Open Settings and go to the "Advanced" pane. There's a checkbox at the bottom:
5353

5454
![safari](safari.png)
5555

-41.1 KB
Binary file not shown.
22.2 KB
Loading
48.3 KB
Loading
-67.8 KB
Binary file not shown.
83 KB
Loading
55 KB
Loading

1-js/06-advanced-functions/06-function-object/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ welcome(); // Hello, Guest (nested call works)
326326

327327
Now it works, because the name `"func"` is function-local. It is not taken from outside (and not visible there). The specification guarantees that it will always reference the current function.
328328

329-
The outer code still has its variable `sayHi` or `welcome`. And `func` is an "internal function name", the way for the function to can call itself reliably.
329+
The outer code still has its variable `sayHi` or `welcome`. And `func` is an "internal function name", the way for the function to call itself reliably.
330330

331331
```smart header="There's no such thing for Function Declaration"
332332
The "internal name" feature described here is only available for Function Expressions, not for Function Declarations. For Function Declarations, there is no syntax for adding an "internal" name.

1-js/06-advanced-functions/10-bind/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ funcUser(); // John
125125
*/!*
126126
```
127127

128-
Here `func.bind(user)` as a "bound variant" of `func`, with fixed `this=user`.
128+
Here `func.bind(user)` is a "bound variant" of `func`, with fixed `this=user`.
129129

130130
All arguments are passed to the original `func` "as is", for instance:
131131

1-js/10-error-handling/1-try-catch/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ For instance:
632632
633633
The role of the global handler `window.onerror` is usually not to recover the script execution -- that's probably impossible in case of programming errors, but to send the error message to developers.
634634
635-
There are also web-services that provide error-logging for such cases, like <https://errorception.com> or <https://www.muscula.com>.
635+
There are also web-services that provide error-logging for such cases, like <https://muscula.com> or <https://www.sentry.io>.
636636
637637
They work like this:
638638

0 commit comments

Comments
 (0)