From 6e9fe98036090a37cc6247b873845505e5b512fb Mon Sep 17 00:00:00 2001 From: Tanner Dolby Date: Tue, 22 Feb 2022 01:49:36 -0800 Subject: Removes empty
or

elements from pages (#3093) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Removes all empty paragraph elements * Removes all empty div elements * Preserve empty div in code snippet * Preserve empty elements inside code snippets * Remove fr files which were converted into markdown * Web/CSS/transform-function/scaleX()/index.html The file is already renamed to index.md。 * remove not needed file * Resolve remaining conflict Co-authored-by: julieng Co-authored-by: Masahiro FUJIMOTO --- files/es/web/javascript/reference/operators/this/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'files/es/web/javascript/reference/operators/this/index.html') diff --git a/files/es/web/javascript/reference/operators/this/index.html b/files/es/web/javascript/reference/operators/this/index.html index da34707919..7ddd26a211 100644 --- a/files/es/web/javascript/reference/operators/this/index.html +++ b/files/es/web/javascript/reference/operators/this/index.html @@ -54,7 +54,7 @@ f1() === window; // objeto global

En este caso, el valor de this no está establecido por la llamada. Dado que el código no está en modo estricto, el valor de this debe ser siempre un objeto por lo que por defecto es el objeto global.
-
+
function f2(){
@@ -67,7 +67,7 @@ f2() === undefined;
En modo estricto, el valor de this se mantiene en lo que está establecida al entrar en el contexto de ejecución. Si no está definido, permanece undefined. También se puede ajustar a cualquier valor, tales como null o 42 o "Yo no soy this".
-
+

Nota: En el segundo ejemplo, this debería ser {{jsxref("undefined")}}, porque f2 fue llamado sin proporcionar ninguna base (ej. window.f2()). Esta característica no fue implementada en algunos navegadores cuando se comenzó a dar soporte al modo estricto. Como resultado, retorna incorrectamente el objeto window.

-- cgit v1.2.3-54-g00ecf