반응형
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
- 스프링부트
- Java
- 자바스크립트
- math
- CSS
- HashMap
- 단위테스트
- 문자열
- list
- ArrayList
- 자바
- Eclipse
- Visual Studio Code
- 배열
- 테스트자동화
- vscode
- html
- 자바문법
- input
- javascript
- 정규식
- junit5
- string
- js
- IntelliJ
- java테스트
- junit
- Array
- SpringBoot
- 인텔리제이
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