1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-09-02 03:02:54 +02:00

[javascript/*] typeof is an operand and not a function/method - fix usage / remove parens

This commit is contained in:
m90
2014-08-09 21:41:12 +02:00
parent 2cfc0752b4
commit 7cf0bcb828
6 changed files with 12 additions and 12 deletions

View File

@@ -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.