#[ typeof ]====================================================================================
typeof 라는 연산자는 피 연산자, 즉 typeof 다음에 위하게 되는 변수나 값이 어떤 타입을 가지는지 식별
1. typeof 변수 or 값
2. typeof ( 변수 or 값 )
두가지 방식으로 쓸수 있다.
ex)
var a = 'hi';
typeof a >>
//string
#[ instanceof ]==========================================================================================
instanceof는 객체가 특정 클래스 또는 생성된 함수의 인스턴스인지 여부를 나타내는 불값을 반환한다
object instanceof class
ex)
var f = new Funcion();
typeof f
//'function'
f instanceof Function
//true
f instanceof Object
//true
?? 먼소리야