From 074785cea106179cb3305637055ab0a009ca74f2 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:52 -0500 Subject: initial commit --- .../deprecated_and_obsolete_features/index.html | 290 +++++++++++++++++++++ 1 file changed, 290 insertions(+) create mode 100644 files/ru/web/javascript/reference/deprecated_and_obsolete_features/index.html (limited to 'files/ru/web/javascript/reference/deprecated_and_obsolete_features') diff --git a/files/ru/web/javascript/reference/deprecated_and_obsolete_features/index.html b/files/ru/web/javascript/reference/deprecated_and_obsolete_features/index.html new file mode 100644 index 0000000000..e579175a94 --- /dev/null +++ b/files/ru/web/javascript/reference/deprecated_and_obsolete_features/index.html @@ -0,0 +1,290 @@ +--- +title: Deprecated and obsolete features +slug: Web/JavaScript/Reference/Deprecated_and_obsolete_features +tags: + - Deprecated + - JavaScript +translation_of: Web/JavaScript/Reference/Deprecated_and_obsolete_features +--- +
{{JsSidebar("More")}}
+ +

This page lists features of JavaScript that are deprecated (that is, still available but planned for removal) and obsolete (that is, no longer usable).

+ +

Deprecated features

+ +

These deprecated features can still be used, but should be used with caution because they are expected to be removed entirely sometime in the future. You should work to remove their use from your code.

+ +

RegExp properties

+ +

The following properties are deprecated. This does not affect their use in {{jsxref("String.replace", "replacement strings", "", 1)}}:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
СвойствоОписание
{{jsxref("RegExp.n", "$1-$9")}} +

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

+
{{jsxref("RegExp.input", "$_")}}Смотрите input.
{{jsxref("RegExp.multiline", "$*")}} Смотрите multiline.
{{jsxref("RegExp.lastMatch", "$&")}}Смотрите lastMatch.
{{jsxref("RegExp.lastParen", "$+")}}Смотрите lastParen.
{{jsxref("RegExp.leftContext", "$`")}}Смотрите leftContext.
{{jsxref("RegExp.rightContext", "$'")}}Смотрите rightContext.
{{jsxref("RegExp.input", "input")}}The string against which a regular expression is matched.
{{jsxref("RegExp.lastMatch", "lastMatch")}}The last matched characters.
{{jsxref("RegExp.lastParen", "lastParen")}}The last parenthesized substring match, if any.
{{jsxref("RegExp.leftContext", "leftContext")}}The substring preceding the most recent match.
{{jsxref("RegExp.rightContext", "rightContext")}}The substring following the most recent match.
+ +

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

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
СвойствоОписание
{{jsxref("RegExp.global", "global")}}Whether or not to test the regular expression against all possible matches in a string, or only against the first.
{{jsxref("RegExp.ignoreCase", "ignoreCase")}}Whether or not to ignore case while attempting a match in a string.
{{jsxref("RegExp.lastIndex", "lastIndex")}}The index at which to start the next match.
{{jsxref("RegExp.multiline", "multiline")}}Whether or not to search in strings across multiple lines.
{{jsxref("RegExp.source", "source")}}The text of the pattern.
+ +

RegExp methods

+ + + +

Function properties

+ + + +

Legacy generator

+ + + +

Iterator

+ + + +

Object methods

+ + + +

Методы даты

+ + + +

Functions

+ + + +

Proxy

+ + + +

Escape sequences

+ + + +

Методы строк

+ + + +

Obsolete features

+ +

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

+ +

Объект

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
СвойствоОписание
{{jsxref("Global_Objects/Object/count", "__count__")}}Returns the number of enumerable properties directly on a user-defined object.
{{jsxref("Global_Objects/Object/Parent", "__parent__")}}Points to an object's context.
{{jsxref("Global_Objects/Object/eval", "Object.prototype.eval()")}}Evaluates a string of JavaScript code in the context of the specified object.
{{jsxref("Object.observe()")}}Asynchronously observing the changes to an object.
{{jsxref("Object.unobserve()")}}Remove observers.
{{jsxref("Object.getNotifier()")}}Creates an object that allows to synthetically trigger a change.
+ +

Function

+ + + + + + + + + + + + +
СвойствоОписание
{{jsxref("Global_Objects/Function/arity", "arity")}}Number of formal arguments.
+ +

Массив

+ + + + + + + + + + + + + + + + +
СвойствоОписание
{{jsxref("Array.observe()")}}Асинхронный просмотр изменений в массивах. 
{{jsxref("Array.unobserve()")}}Remove observers.
+ +

Число

+ + + +

ParallelArray

+ + + +

Statements

+ + + +

E4X

+ +

Смотрите E4X.

+ +

Sharp variables

+ +

Смотрите Sharp variables in JavaScript.

-- cgit v1.2.3-54-g00ecf