반응형
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 | 31 |
Tags
- 배열
- javascript
- 이클립스
- Button
- Java
- date
- 이탈리아
- 자바스크립트
- 자바
- Array
- vscode
- ArrayList
- js
- CSS
- Maven
- Visual Studio Code
- string
- IntelliJ
- table
- windows
- 인텔리제이
- html
- Files
- input
- 문자열
- Eclipse
- 테이블
- json
- list
- CMD
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