

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

# 지원되지 않는 명령문
<a name="ecma-unsupported"></a>

Amazon Lex V2는 다음 ECMAScript 기능을 지원하지 않습니다.

**Topics**
+ [Empty 문](#ecma-unsupported-empty)
+ [Continue 문](#ecma-unsupported-continue)
+ [Break 문](#ecma-unsupported-break)
+ [Return 문](#ecma-unsupported-return)
+ [Throw 문](#ecma-unsupported-throw)
+ [Try 문](#ecma-unsupported-try)
+ [Debugger 문](#ecma-unsupported-debugger)
+ [Labeled 문](#ecma-unsupported-labelled)
+ [클래스 선언](#ecma-unsupported-class)

## Empty 문
<a name="ecma-unsupported-empty"></a>

Empty 문은 명령문을 제공하지 않는 데 사용됩니다. 다음은 Empty 문의 구문입니다.

```
;
```

## Continue 문
<a name="ecma-unsupported-continue"></a>

레이블이 없는 Continue 문은 [Iteration 문](ecma-iteration.md)와 함께 지원됩니다. 레이블이 있는 Continue 문은 지원되지 않습니다.

```
// continue with label
// this allows the program to jump to a
// labelled statement (see labelled statement below)
continue <label>;
```

## Break 문
<a name="ecma-unsupported-break"></a>

레이블이 없는 Break 문은 [Iteration 문](ecma-iteration.md)와 함께 지원됩니다. 레이블이 있는 Break 문은 지원되지 않습니다.

```
// break with label
// this allows the program to break out of a
// labelled statement (see labelled statement below)
break <label>;
```

## Return 문
<a name="ecma-unsupported-return"></a>

```
return expression;
```

## Throw 문
<a name="ecma-unsupported-throw"></a>

Throw 문은 사용자 정의 예외를 발생시키는 데 사용됩니다.

```
throw expression;
```

## Try 문
<a name="ecma-unsupported-try"></a>

```
try {
  statements
}
catch (expression) {
  statements
}
finally {
  statements
}
```

## Debugger 문
<a name="ecma-unsupported-debugger"></a>

Debugger 문은 환경에서 제공하는 디버깅 기능을 간접적으로 호출하는 데 사용됩니다.

```
debugger;
```

## Labeled 문
<a name="ecma-unsupported-labelled"></a>

Labeled 문은 `break` 또는 `continue` 문과 함께 사용할 수 있습니다.

```
label:
   statements


// Example
let str = '';

loop1:
for (let i = 0; i < 5; i++) {
  if (i === 1) {
    continue loop1;
  }
  str = str + i;
}

console.log(str);
```

## 클래스 선언
<a name="ecma-unsupported-class"></a>

```
class Rectangle {
  constructor(height, width) {
    this.height = height;
    this.width = width;
  }
}
```