We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17cbdbb commit 3c0d0d9Copy full SHA for 3c0d0d9
1 file changed
1-js/04-object-basics/06-constructor-new/2-calculator-constructor/task.md
@@ -6,15 +6,9 @@ importance: 5
6
7
아래와 같은 세 개의 메서드를 가진 생성자 함수, `Calculator`를 만들어보세요.
8
9
-<<<<<<< HEAD
10
- `read()` -- `prompt` 함수를 이용해 사용자로부터 값 두 개를 받고, 이를 객체 프로퍼티에 저장합니다.
11
- `sum()` -- 프로퍼티에 저장된 값 두 개를 더한 후 반환합니다.
12
- `mul()` -- 프로퍼티에 저장된 값 두 개를 곱한 후 반환합니다.
13
-=======
14
-- `read()` prompts for two values and saves them as object properties with names `a` and `b` respectively.
15
-- `sum()` returns the sum of these properties.
16
-- `mul()` returns the multiplication product of these properties.
17
->>>>>>> upstream/master
18
19
예시:
20
0 commit comments