diff options
author | ml242 <mattlucas@gmail.com> | 2014-10-27 00:43:20 -0400 |
---|---|---|
committer | ml242 <mattlucas@gmail.com> | 2014-10-27 00:43:20 -0400 |
commit | fb28f2c10258eb92dc40db648a304f3e5b78bd2f (patch) | |
tree | 2e89258ef20441ccc888ae76909ec71b303188b3 /ru-ru/ruby-ru.html.markdown | |
parent | 4095671c9250aab8e15473bc73b5db2cdbc95229 (diff) |
Your Name: Matt
Subject Line: Addresses Comparisons in Javascript
What Happened:
I believe that starting out with the double equals instead of the triple equals for strict comparison checking is incorrect. Because double equals uses type coercion, it is more of a feature the needs to be understood. Beginners looking at the language should look upon the stricter method as the proper one because it is less likely to give a surprising result.
I also tried to address the behaviour by adding an example to the double equals comparison.
Hope that the community is interested in pulling in these changes, they stem from teaching beginners javaScript but I am by no means the authority.
Diffstat (limited to 'ru-ru/ruby-ru.html.markdown')
0 files changed, 0 insertions, 0 deletions