Skip to content

[46장~47장] 14회차 문제-김규홍 #66

@rtttr1

Description

@rtttr1

Q1. 제너레이터 함수와 일반 함수의 차이점에 대해서 설명하세요.

Q2. 제너레이터 함수가 반환하는 제너레이터 객체가 가지는 메서드 3개를 쓰고 간단하게 설명하세요.

Q3. 에러 객체가 가지는 두가지 프로퍼티는 무엇이고 어떤 내용을 담고 있나요?

Q4. 다음 코드를 에러를 적절히 처리하기 위한 코드로 변경하시오.

try {
	new Error('에러 발생!')
} catch() {
	console.log(error)
}

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions