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 | 294 +++++++++++++++++++++ 1 file changed, 294 insertions(+) create mode 100644 files/pt-br/web/javascript/reference/deprecated_and_obsolete_features/index.html (limited to 'files/pt-br/web/javascript/reference/deprecated_and_obsolete_features/index.html') diff --git a/files/pt-br/web/javascript/reference/deprecated_and_obsolete_features/index.html b/files/pt-br/web/javascript/reference/deprecated_and_obsolete_features/index.html new file mode 100644 index 0000000000..3551afdb67 --- /dev/null +++ b/files/pt-br/web/javascript/reference/deprecated_and_obsolete_features/index.html @@ -0,0 +1,294 @@ +--- +title: Deprecated and obsolete features +slug: Web/JavaScript/Reference/Deprecated_and_obsolete_features +tags: + - Depreciado + - Obsoleto +translation_of: Web/JavaScript/Reference/Deprecated_and_obsolete_features +--- +
{{JsSidebar("More")}}
+ +

Esta página lista funcionalidades do JavaScript que foram descontinuadas (ou seja, continuam disponíveis mas têm remoção planejada) e obsoletas (ou seja, não estão mais disponíveis).

+ +

Funcionalidades   descontinuadas

+ +

Estas features descontinuadas ainda podem ser usadas, mas com cautela, porque espera-se que sejam removidas por completo no futuro. Aconselha-se que remova-as do seu código.

+ +

Propriedades RegExp

+ +

As propriedades a seguir foram descontinuadas. Isto não afeta o uso delas em {{jsxref("String.replace", "replacement strings", "", 1)}}:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PropriedadeDescrição
{{jsxref("RegExp.n", "$1-$9")}} +

Encontra substrings dentro de parênteses.
+ Atenção:  Usar estas propriedades pode resultar em problemas, porque extensões do navegador podem modifica-las. Evite-as!

+
{{jsxref("RegExp.input", "$_")}}Ver input.
{{jsxref("RegExp.multiline", "$*")}}Ver multiline.
{{jsxref("RegExp.lastMatch", "$&")}}Ver lastMatch.
{{jsxref("RegExp.lastParen", "$+")}}Ver lastParen.
{{jsxref("RegExp.leftContext", "$`")}}Ver leftContext.
{{jsxref("RegExp.rightContext", "$'")}}Ver rightContext.
{{jsxref("RegExp.input", "input")}}A string encontrada por uma expressão regular.
{{jsxref("RegExp.lastMatch", "lastMatch")}}Os últimos caracteres encontrados.
{{jsxref("RegExp.lastParen", "lastParen")}}A última substring entre parênteses que foi encontrada.
{{jsxref("RegExp.leftContext", "leftContext")}}A penúltima substring encontrada.
{{jsxref("RegExp.rightContext", "rightContext")}}A substring que segue a que foi encontrada por último.
+ +

As propriedades a seguir pertencem a instâncias de um RegExp, não mais ao objeto RegExp:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PropriedadesDescrição
{{jsxref("RegExp.global", "global")}}Determina se deve ou não testar a expressão regular com todas as combinações possíveis em uma string ou só com a primeira.
{{jsxref("RegExp.ignoreCase", "ignoreCase")}}Determina se deve ou não ignorar a capitalização ao tentar encontrar uma combinação em uma string.
{{jsxref("RegExp.lastIndex", "lastIndex")}}O índince que aponta o começo da próxima combinação.
{{jsxref("RegExp.multiline", "multiline")}}Determina se deve ou não procurar por strings em várias linhas diferentes.
{{jsxref("RegExp.source", "source")}}O texto do padrão.
+ +

Métodos RegExp

+ + + +

Propriedades de Função

+ + + +

Legacy generator

+ + + +

Iterador

+ + + +

Métodos de objeto

+ + + +

Métodos de data

+ + + +

Funções

+ + + +

Proxy

+ + + +

let

+ + + +

Sequências de escape

+ + + +

Métodos de string

+ + + +

Features obsoletas

+ +

Estas features obsoletas foram totamente removidas do JavaScript e não podem ser usadas a partir da versão indicada do JavaScript.

+ +

Object

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
PropertyDescription
{{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

+ + + + + + + + + + + + +
PropertyDescription
{{jsxref("Global_Objects/Function/arity", "arity")}}Number of formal arguments.
+ +

Array

+ + + + + + + + + + + + + + + + +
PropertyDescription
{{jsxref("Array.observe()")}}Asynchronously observing changes to Arrays.
{{jsxref("Array.unobserve()")}}Remove observers.
+ +

Number

+ + + +

ParallelArray

+ + + +

Statements

+ + + +

E4X

+ +

See E4X for more information.

+ +

Sharp variables

+ +

See Sharp variables in JavaScript for more information.

-- cgit v1.2.3-54-g00ecf