=> 주로 '==' 을 사용한다.
parseFloat : 실수부도 표시
parseInt : 정수부만 표시(절삭)
Number: 숫자 전부 표시
=> 주로 'Number' 을 사용한다.
주의
- input type 과 관계없이 입력된 타입은 string 이다.
HTML <input id = "val" type = "number" size ="4"/>
JS let val = document.getElementById("val").value; console.log("typeof val => ", typeof val); // string
03_variable
-> 03.var_const_let_block.html, 03.css, 03.js, 04_equal.html, 04.js
04_typeof
-> typeof.html, typeof.css, typeof.js