Skip to content

Commit 2b34f11

Browse files
authored
Merge pull request #272 from odsantos/update-en-JavaScript-specials
Update "JavaScript Specials" English version
2 parents fb8d821 + 58a2b40 commit 2b34f11

File tree

1 file changed

+3
-3
lines changed
  • 1-js/02-first-steps/18-javascript-specials

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ To fully enable all features of modern JavaScript, we should start scripts with
5555

5656
The directive must be at the top of a script or at the beginning of a function body.
5757

58-
Without `"use strict"`, everything still works, but some features behave in the old-fashion, "compatible" way. We'd generally prefer the modern behavior.
58+
Without `"use strict"`, everything still works, but some features behave in the old-fashioned, "compatible" way. We'd generally prefer the modern behavior.
5959

6060
Some modern features of the language (like classes that we'll study in the future) enable strict mode implicitly.
6161

@@ -144,7 +144,7 @@ Assignments
144144
: There is a simple assignment: `a = b` and combined ones like `a *= 2`.
145145

146146
Bitwise
147-
: Bitwise operators work with 32-bit integers at the lowest, bit-level: see the [docs](mdn:/JavaScript/Guide/Expressions_and_Operators#Bitwise) when they are needed.
147+
: Bitwise operators work with 32-bit integers at the lowest, bit-level: see the [docs](mdn:/JavaScript/Guide/Expressions_and_Operators#bitwise_operators) when they are needed.
148148

149149
Conditional
150150
: The only operator with three parameters: `cond ? resultA : resultB`. If `cond` is truthy, returns `resultA`, otherwise `resultB`.
@@ -256,7 +256,7 @@ We covered three ways to create a function in JavaScript:
256256
3. Arrow functions:
257257
258258
```js
259-
// expression at the right side
259+
// expression on the right side
260260
let sum = (a, b) => a + b;
261261
262262
// or multi-line syntax with { ... }, need return here:

0 commit comments

Comments
 (0)