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 /de-de/javascript-de.html.markdown | |
parent | 2cfc0752b4f9ab833e088261b5450a4fd6ff2fa6 (diff) |
[javascript/*] typeof is an operand and not a function/method - fix usage / remove parens
Diffstat (limited to 'de-de/javascript-de.html.markdown')
-rw-r--r-- | de-de/javascript-de.html.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/de-de/javascript-de.html.markdown b/de-de/javascript-de.html.markdown index 0418b2b6..38ce28e2 100644 --- a/de-de/javascript-de.html.markdown +++ b/de-de/javascript-de.html.markdown @@ -397,8 +397,8 @@ var myNumberObj = new Number(12); myNumber == myNumberObj; // = true
// Genau genommen: Sie sind nicht exakt äquivalent.
-typeof(myNumber); // = 'number'
-typeof(myNumberObj); // = 'object'
+typeof myNumber; // = 'number'
+typeof myNumberObj; // = 'object'
myNumber === myNumberObj; // = false
if (0){
// Dieser Teil wird nicht ausgeführt, weil 0 'falsy' ist.
|