2.2.4 컴파일된 파일의 실행 결과 확인하기

    프로젝트 폴더에 index.html 파일을 생성하고 다음 코드를 작성하여 변환된(컴파일된) 파일의 실행 결과를 확인해 보겠습니다.

    <!DOCTYPE html>
    <html lang="en">
    <head>
      <meta charset="UTF-8">
      <meta http-equiv="X-UA-Compatible" content="IE=edge">
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <title>타입스크립트 시작하기</title>
    </head>
    <body>
      <script src="./index.js"></script>
    </body>
    </html>
    신간 소식 구독하기
    뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.