Learning To Love Java Script

2,940 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,940
On SlideShare
0
From Embeds
0
Number of Embeds
38
Actions
Shares
0
Downloads
56
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Learning To Love Java Script

  1. 1. ng rni ea L pt ri Sc love va to Ja Mike Girouard BarCamp Orlando
  2. 2. alert(‘hello world’);
  3. 3. var theBad = this;
  4. 4. JavaScript Java !==
  5. 5. 63words reserved
  6. 6. 37used actually
  7. 7. implied global scope
  8. 8. +
  9. 9. a+b
  10. 10. NaN
  11. 11. NaN
  12. 12. typeof(NaN)
  13. 13. typeof(new Array)
  14. 14. var theGood = this;
  15. 15. [...]
  16. 16. {...}
  17. 17. f({...})
  18. 18. f(a)
  19. 19. foo || bar
  20. 20. !!mikeG
  21. 21. for ... in
  22. 22. obj.prototype
  23. 23. obj[‘foo’]
  24. 24. loose typing
  25. 25. lambdas
  26. 26. E.onDOMReady(function () { // More code awesomeness });
  27. 27. the “module”
  28. 28. MIKEG.example = (function () { var YUD = YAHOO.util.Dom; return { foo: true, bar: function () {...}, baz: function () {...} }; }) ();
  29. 29. Thanks! mikeg@lovemikeg.com

×