** 유형(=타입) 연산자 : 변수 또는 값의 데이터 유형을 확인하는 데 사용된다. 유형 연산자는 `typeof`, `instanceof` 등이 있다. * typeof : 변수 또는 값의 데이터 유형을 문자열로 반환 let num = 523; //Number(숫자) let str = "Hello"; //String(문자열) let bool = true; //Boolean(불리) let obj = {name : "nameTest"}; //Object(객체) let arr = [1, 2, 3]; //Array(배열) console.log(typeof num); // 결과 : "number" console.log(typeof str); // 결과 : "string" console.log(typeof bool); // 결과 : "boolean" console.log(typeof obj); // 결과 : "object" console.log(typeof arr); // 결과 ...
#
Array
#
값
#
객체
#
거짓
#
데이터유형
#
문자열
#
배열
#
변수
#
불리언
#
숫자
#
연산자
#
유형연산자
#
인스턴스
#
참
#
typeof
#
type
#
Boolean
#
class
#
constructor
#
false
#
instanceof
#
javaScript
#
new
#
Number
#
Object
#
script
#
String
#
this
#
true
#
타입연산자
원문 링크 : 유형(타입) 연산자