Skip to content

Commit 9c300b4

Browse files
authored
Minor grammar fixes (#2786)
* Update introduction.md * Update introduction.md * Update introduction.md * Update introduction.md * Update instructions.md * Update about.md
1 parent e163d24 commit 9c300b4

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

concepts/basics/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ In contrast to `let` and `var`, variables that are defined with `const` can only
2121
```javascript
2222
const MY_FIRST_CONSTANT = 10;
2323

24-
// Can not be re-assigned.
24+
// Cannot be re-assigned.
2525
MY_FIRST_CONSTANT = 20;
2626
// => TypeError: Assignment to constant variable.
2727
```

concepts/errors/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Errors are useful to report when something is wrong or unexpected in a program or a piece of code.
44

5-
They are javascript objects.
5+
They are JavaScript objects.
66

77
The main property of this object is `message`:
88

concepts/numbers/about.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Numbers may also be expressed in literal forms like `0b101`, `0o13`, `0x0A`. Lea
2626
### Exponential Notation
2727

2828
The E-notation indicates a number that should be multiplied by 10 raised to a given power.
29-
The format of E-notation is to have a number, followed by `e` or `E`, than by the power of 10 to multiply by.
29+
The format of E-notation is to have a number, followed by `e` or `E`, then by the power of 10 to multiply by.
3030

3131
```javascript
3232
const num = 3.125e7;
@@ -37,7 +37,7 @@ const num = 3.125e7;
3737
E-notation can also be used to represent very small numbers:
3838

3939
```javascript
40-
const num = 325987e-6; // Equals to 0. 325987
40+
const num = 325987e-6; // Equals 0.325987
4141
// The notation essentially says, "Take 325987 and multiply it by 10^-6.
4242
```
4343

@@ -153,7 +153,7 @@ isFinite(NaN); // => false
153153

154154
`+0` or `-0` are distinct numbers in JavaScript. They can be produced if you represented a number, that is so small that it is indistinguishable from 0.
155155
The signed zero allows you to record “from which direction” you approached zero; that is, what sign the number had before it was considered zero.
156-
It is best practise to pretend there's only one zero.
156+
It is best practice to pretend there's only one zero.
157157

158158
## Comparison
159159

concepts/promises/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ The [`Promise`][promise-docs] object represents the eventual completion (or fail
44

55
<!-- prettier-ignore -->
66
~~~exercism/note
7-
This is a hard topic for many people, specially if you know programming in a language that is completely _synchronous_.
7+
This is a hard topic for many people, especially if you know programming in a language that is completely _synchronous_.
88
If you feel overwhelmed, or you would like to learn more about **concurrency** and **parallelism**, [watch (via go.dev)][talk-blog] or [watch directly via vimeo][talk-video] and [read the slides][talk-slides] of the brilliant talk "Concurrency is not parallelism".
99
1010
[talk-slides]: https://go.dev/talks/2012/waza.slide#1

concepts/template-strings/introduction.md

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

3-
In JavaScript, _template strings_ allows for embedding expressions in strings, also referred to as string interpolation.
3+
In JavaScript, _template strings_ allow for embedding expressions in strings, also referred to as string interpolation.
44
This functionality extends the functionality of the built-in [`String`][string-reference] global object.
55

66
You can create template strings in JavaScript by wrapping text in backticks.

exercises/concept/factory-sensors/.docs/instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Now that your machine can detect errors, you will implement a function that reac
6161
- If the temperature is too high, you will either shut down the machine if the temperature exceeds 600°C or turn on a warning light if it is less than that.
6262
- If another error happens, you'll rethrow it.
6363

64-
Implements a function `monitorTheMachine` that takes an argument `actions`.
64+
Implement a function `monitorTheMachine` that takes an argument `actions`.
6565

6666
`actions` is an object that has 4 properties :
6767

0 commit comments

Comments
 (0)