Content deleted Content added
Line 286:
You have too many examples, they don't demonstrate the important points. Logical context needs it's own section, it's a feature of the syntax, not of automatic type coercion by the equality operator. "that neither <code>true==2</code> nor <code>false==2</code> behave the way one might expect." That was already demonstrated. Type conversion by the ! operator is not the same as automatic type coercion. Again, these edits are harmful to the clarity of the article. Each aspect was demonstrated well before your edit. Type coercion was shown, as well as logical context. Each in their own separate code box. Let's not jumble two entirely different features of javascript into one box. That is definitely cause for confusion. [[Special:Contributions/72.152.120.17|72.152.120.17]] ([[User talk:72.152.120.17|talk]]) 16:35, 6 March 2011 (UTC)
PS: I may add that the ! operator belongs in the "Operators" section, not to booleans. [[Special:Contributions/72.152.120.17|72.152.120.17]] ([[User talk:72.152.120.17|talk]]) 16:42, 6 March 2011 (UTC)
|