We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e08841 commit 50343e2Copy full SHA for 50343e2
1 file changed
1-js/04-object-basics/04-object-methods/7-calculator/task.md
@@ -6,15 +6,9 @@ importance: 5
6
7
`calculator`라는 객체를 만들고 세 메서드를 구현해 봅시다.
8
9
-<<<<<<< HEAD
10
- `read()`에선 프롬프트 창을 띄우고 더할 값 두 개를 입력받습니다. 입력받은 값은 객체의 프로퍼티에 저장합니다.
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 saved values.
16
-- `mul()` multiplies saved values and returns the result.
17
->>>>>>> upstream/master
18
19
```js
20
let calculator = {
0 commit comments