Skip to content

Commit 75e3053

Browse files
committed
replace
1 parent e2443e8 commit 75e3053

File tree

73 files changed

+195
-195
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+195
-195
lines changed

1-js/02-first-steps/01-hello-world/article.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Hello, world!
22

3-
The tutorial that you're reading is about the core Javascript, that is platform-independant. So you'll be able to learn how to use Node.JS and other things based on that knowledge.
3+
The tutorial that you're reading is about the core JavaScript, that is platform-independant. So you'll be able to learn how to use Node.JS and other things based on that knowledge.
44

55
But we need a working environment to run our scripts, and, just because this book is online, the browser is probably a good choice. We'll use a few browser-specific commands like `alert`, but will keep their amount to the minimum.
66

@@ -133,4 +133,4 @@ The example above can be split into two scripts to work:
133133
- A script in an external file can be inserted with `<script src="path/to/script.js"></script>`.
134134
135135
136-
There is much more about browser scripts and their interaction with the web-page. But let's keep in mind that this part of the tutorial is devoted to Javascript language. So we shouldn't distract ourselves from it. We'll be using a browser as a way to run Javascript, very convenient for online reading, but yet one of many.
136+
There is much more about browser scripts and their interaction with the web-page. But let's keep in mind that this part of the tutorial is devoted to JavaScript language. So we shouldn't distract ourselves from it. We'll be using a browser as a way to run JavaScript, very convenient for online reading, but yet one of many.

1-js/02-first-steps/05-types/article.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ We'll see more into working with numbers in the chapter <info:number>.
6666

6767
## A string
6868

69-
A string in Javascript must be quoted.
69+
A string in JavaScript must be quoted.
7070

7171
```js
7272
let str = "Hello";
@@ -80,7 +80,7 @@ In JavaScript, there are 3 types of quotes.
8080
2. Single quotes: `'Hello'`.
8181
3. Backticks: <code>&#96;Hello&#96;</code>.
8282

83-
Double and single quotes are "simple" quotes. They mark the beginning and the end of the string, that's all. There's no difference between them in Javascript.
83+
Double and single quotes are "simple" quotes. They mark the beginning and the end of the string, that's all. There's no difference between them in JavaScript.
8484

8585
Backticks are "extended functionality" quotes. They allow to embed variables and expressions into a string by wrapping them in `${…}`, for example:
8686

1-js/02-first-steps/06-type-conversions/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,4 +167,4 @@ Most of these rules are easy to understand and memorize. The notable exceptions
167167
- `undefined` is `NaN` as a number.
168168
- `"0"` is true as a boolean.
169169
170-
Objects are not covered here, we'll return to them later in the chapter <info:object-toprimitive>, devoted exclusively to objects, after we learn more basic things about Javascript.
170+
Objects are not covered here, we'll return to them later in the chapter <info:object-toprimitive>, devoted exclusively to objects, after we learn more basic things about JavaScript.

1-js/02-first-steps/07-operators/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Before we move on, let's grasp the common terminology.
3232
3333
## Strings concatenation, binary +
3434
35-
Now let's see special features of Javascript operators, beyond school arithmetics.
35+
Now let's see special features of JavaScript operators, beyond school arithmetics.
3636

3737
Usually the plus operator `'+'` sums numbers.
3838

1-js/02-first-steps/09-uibasic/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Interaction: alert, prompt, confirm
22

3-
This part of the tutorial aims to cover Javascript "as is", without environment-specific tweaks.
3+
This part of the tutorial aims to cover JavaScript "as is", without environment-specific tweaks.
44

55
But still we use a browser as the demo environment. So we should know at least few user-interface functions.
66

1-js/02-first-steps/14-function-basics/article.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ function showMessage(from, text = anotherFunction()) {
207207
208208
209209
````smart header="Default parameters old-style"
210-
Old editions of Javascript did not support default parameters. So there are alternative ways to support them, that you can find mostly in the old scripts.
210+
Old editions of JavaScript did not support default parameters. So there are alternative ways to support them, that you can find mostly in the old scripts.
211211
212212
For instance, an explicit check for being `undefined`:
213213
@@ -322,7 +322,7 @@ For long expressions, it may be tempting sometimes to put them on a separate lin
322322
return
323323
(some + long + expression + or + whatever * f(a) + f(b))
324324
```
325-
That doesn't work, because Javascript assumes a semicolon after `return` in that case:
325+
That doesn't work, because JavaScript assumes a semicolon after `return` in that case:
326326
327327
```js
328328
return*!*;*/!*

1-js/02-first-steps/15-function-expressions-arrows/article.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Function expressions and arrows
22

3-
In Javascript a function is not a "magical language structure", but a special kind of value.
3+
In JavaScript a function is not a "magical language structure", but a special kind of value.
44

55
The syntax that we used before is called *Function Declaration*:
66

@@ -159,7 +159,7 @@ ask(
159159

160160
Here functions are declared right inside the `ask(...)` call. They have no name, and so are called *anonymous*. Such functions are not accessible outside of `ask`, but that's just what we want here.
161161

162-
Such code appears in our scripts very naturally, it's in the spirit of Javascript.
162+
Such code appears in our scripts very naturally, it's in the spirit of JavaScript.
163163

164164

165165
```smart header="A function is a value representing an \"action\""

1-js/02-first-steps/16-javascript-specials/article.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Javascript specials
1+
# JavaScript specials
22

33
This chapter aims to list features of JavaScript that we've learned, paying special attention to subtle moments.
44

@@ -233,7 +233,7 @@ Details in: <info:switch>.
233233

234234
## Functions
235235

236-
We covered 3 ways to create a function in Javascript:
236+
We covered 3 ways to create a function in JavaScript:
237237

238238
1. Function Declaration: the function in the main code flow
239239

@@ -291,6 +291,6 @@ More: see <info:function-basics>, <info:function-expressions-arrows>.
291291
292292
## More to come
293293
294-
That was a brief list of Javascript specials that we need to know to code well.
294+
That was a brief list of JavaScript specials that we need to know to code well.
295295
296-
As of now that were only basics. Further in the tutorial you'll find more specials and advanced features of Javascript.
296+
As of now that were only basics. Further in the tutorial you'll find more specials and advanced features of JavaScript.

1-js/03-code-quality/01-debugging-chrome/article.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ Should look like this:
5454

5555
![](chrome-sources-breakpoint.png)
5656

57-
A *breakpoint* is a point of code where the debugger will automatically pause the Javascript execution.
57+
A *breakpoint* is a point of code where the debugger will automatically pause the JavaScript execution.
5858

5959
While the code is paused, we can examine current variables, execute commands in the console etc. That is -- debug it.
6060

@@ -128,7 +128,7 @@ There are buttons for it at the right-top:
128128
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.
129129

130130
<span class="devtools" style="background-position:-137px -76px"></span> -- make a step (run the next command), but *not go into the function*, hotkey `key:F10`.
131-
: If we click it now, `alert` will be shown. The important thing is that if `alert` were not native, but a Javascript function, then the execution would "step over it", skipping the function internals.
131+
: If we click it now, `alert` will be shown. The important thing is that if `alert` were not native, but a JavaScript function, then the execution would "step over it", skipping the function internals.
132132

133133
<span class="devtools" style="background-position:-72px -76px"></span> -- make a step, hotkey `key:F11`.
134134
: The same as the previous one, but "steps in" nested functions. Clicking this will step through all script actions one by one.

1-js/03-code-quality/02-coding-style/article.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ There are many open style guides, so there we could just accept the one we like
258258

259259
There exist more there in the wild.
260260

261-
As you become more mature in Javascript programming, you might want to read them all to pick up the common principles.
261+
As you become more mature in JavaScript programming, you might want to read them all to pick up the common principles.
262262

263263
## Style checkers
264264

@@ -280,7 +280,7 @@ Here are simple steps to start using it:
280280

281281
1. Install [Node.JS](https://nodejs.org/), necessary to run them.
282282
2. Install eslint: `npm i -g eslint` (npm is Node.JS package installer).
283-
3. Create a config file `.eslintrc` in your Javascript project (the dot at the start is mandatory).
283+
3. Create a config file `.eslintrc` in your JavaScript project (the dot at the start is mandatory).
284284

285285
An example of `.eslintrc`:
286286

0 commit comments

Comments
 (0)