diff --git a/concepts/basics/introduction.md b/concepts/basics/introduction.md index 0e1fd62da2..a54e1c1e84 100644 --- a/concepts/basics/introduction.md +++ b/concepts/basics/introduction.md @@ -21,7 +21,7 @@ In contrast to `let` and `var`, variables that are defined with `const` can only ```javascript const MY_FIRST_CONSTANT = 10; -// Can not be re-assigned. +// Cannot be re-assigned. MY_FIRST_CONSTANT = 20; // => TypeError: Assignment to constant variable. ``` diff --git a/concepts/errors/introduction.md b/concepts/errors/introduction.md index 138afd6610..39fcd13cd9 100644 --- a/concepts/errors/introduction.md +++ b/concepts/errors/introduction.md @@ -2,7 +2,7 @@ Errors are useful to report when something is wrong or unexpected in a program or a piece of code. -They are javascript objects. +They are JavaScript objects. The main property of this object is `message`: diff --git a/concepts/numbers/about.md b/concepts/numbers/about.md index cefa271b7b..b9d13b5d75 100644 --- a/concepts/numbers/about.md +++ b/concepts/numbers/about.md @@ -26,7 +26,7 @@ Numbers may also be expressed in literal forms like `0b101`, `0o13`, `0x0A`. Lea ### Exponential Notation The E-notation indicates a number that should be multiplied by 10 raised to a given power. -The format of E-notation is to have a number, followed by `e` or `E`, than by the power of 10 to multiply by. +The format of E-notation is to have a number, followed by `e` or `E`, then by the power of 10 to multiply by. ```javascript const num = 3.125e7; @@ -37,7 +37,7 @@ const num = 3.125e7; E-notation can also be used to represent very small numbers: ```javascript -const num = 325987e-6; // Equals to 0. 325987 +const num = 325987e-6; // Equals 0.325987 // The notation essentially says, "Take 325987 and multiply it by 10^-6. ``` @@ -153,7 +153,7 @@ isFinite(NaN); // => false `+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. 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. -It is best practise to pretend there's only one zero. +It is best practice to pretend there's only one zero. ## Comparison diff --git a/concepts/promises/introduction.md b/concepts/promises/introduction.md index f077711929..3b1440a5d8 100644 --- a/concepts/promises/introduction.md +++ b/concepts/promises/introduction.md @@ -4,7 +4,7 @@ The [`Promise`][promise-docs] object represents the eventual completion (or fail ~~~exercism/note -This is a hard topic for many people, specially if you know programming in a language that is completely _synchronous_. +This is a hard topic for many people, especially if you know programming in a language that is completely _synchronous_. 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". [talk-slides]: https://go.dev/talks/2012/waza.slide#1 diff --git a/concepts/template-strings/introduction.md b/concepts/template-strings/introduction.md index 396c8d8f18..6af7f9cbc7 100644 --- a/concepts/template-strings/introduction.md +++ b/concepts/template-strings/introduction.md @@ -1,6 +1,6 @@ # Introduction -In JavaScript, _template strings_ allows for embedding expressions in strings, also referred to as string interpolation. +In JavaScript, _template strings_ allow for embedding expressions in strings, also referred to as string interpolation. This functionality extends the functionality of the built-in [`String`][string-reference] global object. You can create template strings in JavaScript by wrapping text in backticks. diff --git a/exercises/concept/factory-sensors/.docs/instructions.md b/exercises/concept/factory-sensors/.docs/instructions.md index 545c242b4e..ccee09cce3 100644 --- a/exercises/concept/factory-sensors/.docs/instructions.md +++ b/exercises/concept/factory-sensors/.docs/instructions.md @@ -61,7 +61,7 @@ Now that your machine can detect errors, you will implement a function that reac - 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. - If another error happens, you'll rethrow it. -Implements a function `monitorTheMachine` that takes an argument `actions`. +Implement a function `monitorTheMachine` that takes an argument `actions`. `actions` is an object that has 4 properties :