From f86d0cff2a0011922189a9878d3f724f37b33684 Mon Sep 17 00:00:00 2001 From: Mau Di Bert Date: Thu, 10 Jan 2019 21:10:05 -0300 Subject: [PATCH 1/2] Update article.md --- 1-js/02-first-steps/11-logical-operators/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/02-first-steps/11-logical-operators/article.md b/1-js/02-first-steps/11-logical-operators/article.md index d3b9a76e..4932020a 100644 --- a/1-js/02-first-steps/11-logical-operators/article.md +++ b/1-js/02-first-steps/11-logical-operators/article.md @@ -133,7 +133,7 @@ This leads to some interesting usage compared to a "pure, classical, boolean-onl alert(x); // undefined, because (x = 1) not evaluated ``` - If, instead, the first argument is `false`, `OR` evaluates the second one, thus running the assignment: + If, instead, the first argument is `false`, `||` evaluates the second one, thus running the assignment: ```js run no-beautify let x; From 26b88953c62e5d5cd10a7d991d234ff746eb26da Mon Sep 17 00:00:00 2001 From: lindsaysofia Date: Thu, 10 Jan 2019 21:17:47 -0800 Subject: [PATCH 2/2] Changed 'each' function reference to 'after' --- 1-js/03-code-quality/05-testing-mocha/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/03-code-quality/05-testing-mocha/article.md b/1-js/03-code-quality/05-testing-mocha/article.md index a51ec705..a22f44aa 100644 --- a/1-js/03-code-quality/05-testing-mocha/article.md +++ b/1-js/03-code-quality/05-testing-mocha/article.md @@ -296,7 +296,7 @@ Testing finished – after all tests (after) [edit src="beforeafter" title="Open the example in the sandbox."] -Usually, `beforeEach/afterEach` (`before/each`) are used to perform initialization, zero out counters or do something else between the tests (or test groups). +Usually, `beforeEach/afterEach` (`before/after`) are used to perform initialization, zero out counters or do something else between the tests (or test groups). ```` ## Extending the spec