프로그래밍 언어
.NET프로그래밍/JavaScript 1.2 2009. 7. 31. 23:31 |ASP 3.0
프로그래밍 언어
1. 설치
2. 기본출력문
document.write()
window.alert()
3. 주석문(Comment)
/* ~ */
//
4. 변수(Variable)
var 키워드
5. 연산자(Operator)
산술 : +, -, *, /, %(MOD)
비교(관계) : ==(같다, =), !=(다르다, <>)
논리 : &&(AND), ||(OR), !(NOT)
조건(3항) : ?: -> if문으로 대체
대입 : =, +=, -=, *=, /=, %=
증감 : ++, --
6. 제어문(Statement)
- 조건문
- if
- switch
- 반복문
- for
- do
- while
- 기타
- break;
- continue;
7. 배열(Array)
8. 함수(Method/Function/Sub Procedure)
9. 객체(Object)
- document.write()
- document.title
- window.alert()
- window.confirm()
- window.prompt()
10. 이벤트(Event)
==================================================
11. 구조체(Struct)
12. 클래스(Class)
...
'.NET프로그래밍 > JavaScript 1.2' 카테고리의 다른 글
21. 배열 (0) | 2009.08.10 |
---|---|
20. 함수사용법 (0) | 2009.08.10 |
19. 짝수의 합 구하기 (0) | 2009.07.31 |
18. 구간반복 - 반복문(for문) (0) | 2009.07.31 |
17. 선택문(switch문) (0) | 2009.07.31 |