diff options
author | Adam Brenecki <adam@brenecki.id.au> | 2014-08-10 19:31:54 +0930 |
---|---|---|
committer | Adam Brenecki <adam@brenecki.id.au> | 2014-08-10 19:31:54 +0930 |
commit | a9daab714af9c1db9a48311d050d7f8d340b8048 (patch) | |
tree | fb9eab569014c6ab6bfb1139b5e6dfb4e0155104 /es-es | |
parent | 2cfc0752b4f9ab833e088261b5450a4fd6ff2fa6 (diff) | |
parent | 7cf0bcb8283a0be92f77b40568355f02ac1811af (diff) |
Merge pull request #718 from m90/master
[javascript/*] typeof is an operator and not a function/method - fix usag...
Diffstat (limited to 'es-es')
-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. |