> For the complete documentation index, see [llms.txt](https://april.gitbook.io/learning-js/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://april.gitbook.io/learning-js/chapter-4./4.1/4.1.3.md).

# 4.1.3 공백

같은 if문 안에서 블록 문과 블록 없는 문을 섞어 쓰지 말 것

## 잘못된 예

```javascript
var funds = 10;

if (funds > 1) { // 블록문
    console.log("There's money left!");
    console.log("That means keep playing");
} else // 블록 없는 문
    console.log("I'm broke! Time to quit.");
```
