Skip to content

Commit c91df2f

Browse files
mibal-uatshemsedinov
authored andcommitted
Fix misprints in Exercises
1 parent 319941b commit c91df2f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Exercises.en.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
You can often use more general functions to define more specific functions.
66

77
- Define function `power(exp, n)`, the same as `Math.pow(n, exp)` but with
8-
reverse order of argumants.
8+
reverse order of arguments.
99
- Implement function `square(n)` which returns a number to the power of two.
1010
- `bind()` function `power(exp, n)` to obtain function `cube(n)`.
1111

Exercises/1-power.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
'use strict';
22

33
// Define function power(exp, n), the same as Math.pow(n, exp)
4-
// but with reverse order of argumants.
4+
// but with reverse order of arguments.
55
const power = null;
66

77
// Implement function `square(n)`, which returns square of its argument.
88
// The function may or may not reuse function `power`.
99
const square = null;
1010

1111
// Implement function `cube(n)` using partial application
12-
// The function should return cube of argumant (to the power of three).
12+
// The function should return cube of argument (to the power of three).
1313
const cube = null;
1414

1515
module.exports = { power, square, cube };

Exercises/6-chaining.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
const EXPECTED_PIN = '4967';
55
const checkPin = (...code) => code.join('') === EXPECTED_PIN;
66

7-
// Impement function press
7+
// Implement function press
88
// that allows to enter pin code by one character,
99
// e.g. press('3').press('4').press('5').press('6')
1010
//

0 commit comments

Comments
 (0)