타입이란?
변수에 할당할 수 있는 형태이다. 타입마다 다른 속성과 메소드가 있다.
타입들
string 문자열 number 숫자 boolean 참과 거짓 undefined 정의되지 않음
함수도 타입이다.
타입 확인
typeof() 를 사용한다.