Deprecated and obsolete features

본 페이지는 자바스크립트의 제외 예정인(즉, 아직 사용할 수 있지만 제거 계획이 있는) 기능과 제외된(즉, 더 이상 사용할 수 없는) 기능을 나열합니다.

제외 예정 기능

아래 기능은 아직 사용할 수 있지만, 언젠가 제거될 예정이므로 주의를 기울여야 합니다. 작성한 코드가 항목 중 하나를 포함하고 있다면 제거해야 합니다.

RegExp 속성

아래 속성은 제외 예정입니다. 이는 String.replace 사용에 영향을 주지 않습니다.

Property Description

Parenthesized substring matches, if any.
Warning: Using these properties can result in problems, since browser extensions can modify them. Avoid them!

$_ (en-US) See input.
$* See multiline.
$& (en-US) See lastMatch.
$+ (en-US) See lastParen.
$` (en-US) See leftContext.
$' (en-US) See rightContext.
input (en-US) The string against which a regular expression is matched.
lastMatch (en-US) The last matched characters.
lastParen (en-US) The last parenthesized substring match, if any.
leftContext (en-US) The substring preceding the most recent match.
rightContext (en-US) The substring following the most recent match.

The following are now properties of RegExp instances, no longer of the RegExp object:

Property Description
global Whether or not to test the regular expression against all possible matches in a string, or only against the first.
ignoreCase Whether or not to ignore case while attempting a match in a string.
lastIndex (en-US) The index at which to start the next match.
multiline Whether or not to search in strings across multiple lines.
source (en-US) 패턴의 텍스트.

RegExp 메서드

Function 속성

  • The caller (en-US) and arguments properties are deprecated, because they leak the function caller. Instead of the arguments property, you should use the arguments object inside function closures.

Legacy generator


Object methods

  • watch and unwatch are deprecated. Use Proxy instead.
  • __iterator__ is deprecated.
  • Object.prototype.__noSuchMethod__ is deprecated. Use Proxy instead.

Date methods



Escape sequences

String methods

Obsolete features

These obsolete features have been entirely removed from JavaScript and can no longer be used as of the indicated version of JavaScript.



Property Description
arity Number of formal arguments.


Property Description
Array.observe() Asynchronously observing changes to Arrays.
Array.unobserve() Remove observers.





See E4X for more information.

Sharp variables

See Sharp variables in JavaScript for more information.