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
- Menu
- OGNL
- HTML
- 오버로딩
- JavaScript
- AWT
- 메소드
- 생성자
- Eclips
- 기본
- Graphic
- paint
- Java
- 에러페이지
- 이클립스
- JSP
- layout
- 어노테이션
- 안드로이드
- Android
- 예외처리
- 배열
- mybatis
- 메서드
- struts2
- 클래스
- Spring
- 국제화
- oracle
- 전화걸기
Archives
- Today
- Total
note
객체와 반복문 본문
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>객체와 반복문</title> <script> //변수를 선언합니다. var product = { name: 'Microsoft Visual Studio 2010 Ultimate', price: '15,000,000원', language: '한국어', supportOS: 'win32/64', subscription: true }; //출력합니다. var output = ''; for(var key in product){ output += '●' + key + ' : ' + product[key] + '\n'; } alert(output); </script> </head> <body> </body> </html>
'JavaScript > 기본' 카테고리의 다른 글
동적으로 메서드 추가 (0) | 2012.03.13 |
---|---|
in 키워드 (0) | 2012.03.13 |
this 키워드 (0) | 2012.03.13 |
숫자관련 내장함수 isFinite / isNaN (0) | 2012.03.12 |
eval() 함수 (0) | 2012.03.12 |