Skip to content

Commit b61769a

Browse files
committed
[new 연산자와 생성자 함수] 리뷰 반영 — -- 정리 및 문장 다듬기 (계산기 만들기 과제)
1 parent f6cb25e commit b61769a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

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

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ importance: 5
66

77
아래와 같은 세 개의 메서드를 가진 생성자 함수, `Calculator`를 만들어보세요.
88

9-
- `read()` -- `prompt` 함수를 이용해 사용자로부터 값 두 개를 받고, 이를 객체 프로퍼티에 저장합니다.
10-
- `sum()` -- 프로퍼티에 저장된 값 두 개를 더한 후 반환합니다.
11-
- `mul()` -- 프로퍼티에 저장된 값 두 개를 곱한 후 반환합니다.
9+
- `read()` 사용자로부터 값 두 개를 받고, 이를 객체 프로퍼티에 저장합니다.
10+
- `sum()` 프로퍼티에 저장된 값 두 개를 더한 후 반환합니다.
11+
- `mul()` 프로퍼티에 저장된 값 두 개를 곱한 후 반환합니다.
1212

1313
예시:
1414

0 commit comments

Comments
 (0)