> For the complete documentation index, see [llms.txt](https://gonthink.gitbook.io/webpublisher/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gonthink.gitbook.io/webpublisher/javascript-es6/undefined.md).

# 함수

하나의 명령으로 특정 코드를 실행할수 있게 해준다.

```
*/파라미터 : input값
function 함수의 이름(파라미터){
  
}

function add(a, b) {
  return a + b;
}

const sum = add(1,2);
```
