데이터 유형 (1) 썸네일형 리스트형 typeof, Number.isInteger(), isFinite(), isNaN() // 데이터 유형찾기 typeof 출처 유형이 뭔지 알려줌 1 2 3 4 5 6 7 8 9 10 11 12 console.log(typeof 42); // expected output: "number" console.log(typeof 'blubber'); // expected output: "string" console.log(typeof true); // expected output: "boolean" console.log(typeof declaredButUndefinedVariable); // expected output: "undefined"; Colored by Color Scripter cs Number.isInteger() 출처 정수인지 여부를 판단 예제 1 2 3 4 5 6 7 8 9 10 11 12 13 fu.. 이전 1 다음