Skip to content

Commit c11e773

Browse files
authored
Clarify instructions of read method
1 parent 53b35c1 commit c11e773

File tree

1 file changed

+1
-1
lines changed
  • 1-js/04-object-basics/06-constructor-new/2-calculator-constructor

1 file changed

+1
-1
lines changed

1-js/04-object-basics/06-constructor-new/2-calculator-constructor/task.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ importance: 5
66

77
Create a constructor function `Calculator` that creates objects with 3 methods:
88

9-
- `read()` asks for two values using `prompt` and remembers them in object properties.
9+
- `read()` asks for two values using `prompt` and stores each of them in a unique object property.
1010
- `sum()` returns the sum of these properties.
1111
- `mul()` returns the multiplication product of these properties.
1212

0 commit comments

Comments
 (0)