diff options
author | m90 <frederik.ring@gmail.com> | 2014-08-09 21:41:12 +0200 |
---|---|---|
committer | m90 <frederik.ring@gmail.com> | 2014-08-09 21:41:12 +0200 |
commit | 7cf0bcb8283a0be92f77b40568355f02ac1811af (patch) | |
tree | fb9eab569014c6ab6bfb1139b5e6dfb4e0155104 /es-es/javascript-es.html.markdown | |
parent | 2cfc0752b4f9ab833e088261b5450a4fd6ff2fa6 (diff) |
[javascript/*] typeof is an operand and not a function/method - fix usage / remove parens
Diffstat (limited to 'es-es/javascript-es.html.markdown')
-rw-r--r-- | es-es/javascript-es.html.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/es-es/javascript-es.html.markdown b/es-es/javascript-es.html.markdown index 9b412f6e..a1348508 100644 --- a/es-es/javascript-es.html.markdown +++ b/es-es/javascript-es.html.markdown @@ -471,8 +471,8 @@ var miNumeroObjeto = new Number(12); miNumero == miNumeroObjeto; // = true // No son exactamente iguales. -typeof(miNumero); // = 'number' -typeof(miNumeroObjeto); // = 'object' +typeof miNumero; // = 'number' +typeof miNumeroObjeto; // = 'object' miNumero === miNumeroObjeyo; // = false if (0){ // Este código no se ejecutara porque 0 es false. |