반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
Tags
- js
- CMD
- windows
- 이탈리아
- Files
- Eclipse
- Maven
- Button
- json
- Array
- 인텔리제이
- 배열
- input
- list
- Visual Studio Code
- date
- 테이블
- ArrayList
- CSS
- 자바스크립트
- IntelliJ
- javascript
- 문자열
- string
- html
- vscode
- 자바
- 이클립스
- Java
- table
Archives
- Today
- Total
목록데이터타입 (1)
어제 오늘 내일
[Javascript] 데이터 타입 확인하기 - typeof
데이터 타입 확인하기 Javascript에서 데이터의 타입을 확인하기 위해서는 typeof 를 사용합니다. typeof typeof operand typeof(operand) typeof 연산자는 operand의 타입을 나타내는 문자열을 리턴합니다. 파라미터 타입을 알고 싶은 객체 또는 표현식 리턴값 operand의 타입을 나타내는 문자열 예제 See the Pen 타입 by anna (@hianna) on CodePen. typeof "ABC" 문자열은 "string"을 리턴합니다. typeof 1 typeof 1.2 숫자는 "number"를 리턴합니다. typeof { name : "Anne"} 객체는 "object"를 리턴합니다. typeof null null은 "object"를 리턴합니다. typ..
IT/Javascript
2020. 7. 28. 00:40