Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

About

이번 릴리즈의 새 기능

JavaScript 버전 1.5는 다음과 같은 개선과 새 기능을 제공합니다:

런타임 오류
런타임 오류가 예외로서 보고됩니다.

숫자 표현 서식 개선
숫자를 표현하는 서식이 Number.prototype.toExponential, Number.prototype.toFixed, Number.prototype.toPrecision 메소드를 포함함으로서 개선되었습니다. Number 개체 페이지를 보십시오.

정규 표현식 개선
정규표현식이 다음과 같이 개선되었습니다:

조건부 함수 선언
함수를 if 조건안에서 선언할 수 있습니다. 함수 정의 페이지를 참고하세요.

함수 표현식
함수를 표현식 안에서 선언할 수 있습니다. 함수 정의 페이지를 참고하세요.

Multiple catch clauses
Multiple catch clauses in a try...catch statement are supported. See The catch Block page.

Getters와 Setters
JavaScript writers can now add getters and setters to their objects. This feature is available only in the C implementation of JavaScript. See the Defining Getters and Setters page.

상수
읽기전용의 상수가 지원됩니다. This feature is available only in the C implementation of JavaScript. See the Constants page.

미리 알고 있어야 할 것

이 안내서는 당신이 다음과 같은 배경지식을 지녔다고 가정합니다:

  • 인터넷과 World Wide Web (WWW)에 대한 상식적인 이해
  • HyperText Markup Language (HTML)에 대한 충분한 지식

C 혹은 Visual Basic에 대한 프로그래밍 경험이 있으면 좋지만, 필수사항은 아닙니다.

JavaScript 버전

JavaScript 버전 Navigator 버전
JavaScript 1.0 Navigator 2.0
JavaScript 1.1 Navigator 3.0
JavaScript 1.2 Navigator 4.0-4.05
JavaScript 1.3 Navigator 4.06-4.7x
JavaScript 1.4  
JavaScript 1.5 Navigator 6.0
모질라 (오픈소스 브라우저)

표1: JavaScript와 Navigator 버전

Each version of the Netscape Enterprise Server also supports a different version of JavaScript. To help you write scripts that are compatible with multiple versions of the Enterprise Server, this manual uses an abbreviation to indicate the server version in which each feature was implemented.

Abbreviation Enterprise Server version
NES 2.0 Netscape Enterprise Server 2.0
NES 3.0 Netscape Enterprise Server 3.0

Table 2: Abbreviations of Netscape Enterprise Server versions

JavaScript 정보를 찾을 수 있는 곳

The core JavaScript documentation includes the following books:

If you are new to JavaScript, start with the Core JavaScript Guide. Once you have a firm grasp of the fundamentals, you can use the Core JavaScript Reference to get more details on individual objects and statements.

문서 규약

JavaScript 응용프로그램은 많은 운영체제에서 실행됩니다. 이 책에 있는 정보는 모든 운영체제에 적용됩니다. 파일과 디렉토리 경로는 Windows 형식(디렉토리 이름을 구분하는데 역슬래시를 사용)으로 썼습니다. Unix에서는 역슬래시를 슬래시로 바꾸어 사용하면 됩니다.

이 안내서에서 URL은 다음과 같은 형태로 씁니다.

https://server.domain/path/file.html

이 URL에서 "server"는 우리가 응용프로그램을 실행하는 서버 이름(research1이나 www 등)이고, "domain"은 인터넷 도메인 이름(netscape.com이나 uiuc.edu 등)입니다. "path"는 서버의 디렉토리 구조를 나타내고, "file.html"은 파일 이름입니다. 일반적으로 URL에서 이탤릭체로 쓴 부분은 알맞은 내용으로 바꿔써야 할 내용(placeholder)이고, 평범한 고정폭 글꼴은 그대로 쓰면 되는 내용입니다. Secure Socket Layer(SSL)을 사용하는 서버라면 http 대신 https를 쓰면 됩니다.

이 안내서는 다음과 같은 관례를 따릅니다.

  • 고정폭 글꼴은 샘플 코드, API, 언어 요소(메소드 이름, 속성 이름 등), 파일 이름, 경로, 디렉토리 이름, HTML 태그, 화면에 입력해야 할 텍스트를 나타내는 데 쓰입니다. (고정폭 이탤릭체는 코드 내용 중에서 적당히 알맞은 내용으로 바꿔써야 할 부분을 나타내는 데 씁니다.)
  • 이탤릭체는 책 제목, 강조, 변수, 뜻 그대로 쓰인 단어(words in the literal sense)에 씁니다.
  • 굵은 글씨는 용어에 씁니다.

문서 태그 및 공헌자

 이 페이지의 공헌자: teoli, Wafe, taggon
 최종 변경: teoli,