What the JavaScript?

35761e3936deba2f8189c2d20982c771?s=47 Kyle Simpson
February 12, 2015

What the JavaScript?

You've heard years of complaints about JavaScript and how many WTFs it has. It's certainly popular to be in the "I use JS but it's a crazy language" camp. But is it really riddled with bad design?

There are definitely some legitimate WTFs, but they're most likely not the things you think. We're going to meander through of bunch of the weird corners of the language -- not the usual suspects -- and then look FORWARD to the new WTFs that ES6 (or ES2015 or whatever) has in store for us.

If you're looking for the "bad parts" to avoid, ditch everything you've heard before and "let" these dance in your nightmares.

35761e3936deba2f8189c2d20982c771?s=128

Kyle Simpson

February 12, 2015
Tweet

Transcript

  1. 10.
  2. 11.
  3. 12.

    wtf

  4. 13.

    wtf

  5. 14.

    wtf

  6. 15.
  7. 16.
  8. 17.
  9. 18.
  10. 19.

    wtf

  11. 21.

    wtf

  12. 22.

    wtf

  13. 23.

    wtf

  14. 24.

    wtf

  15. 25.

    wtf

  16. 26.

    wtf

  17. 28.

    wtf

  18. 29.

    wtf

  19. 30.

    wtf

  20. 31.

    wtf

  21. 33.

    wtf

  22. 34.
  23. 35.

    wtf

  24. 36.
  25. 37.

    wtf

  26. 38.

    wtf

  27. 39.

    wtf

  28. 40.

    wtf

  29. 42.
  30. 43.
  31. 44.
  32. 45.
  33. 46.
  34. 47.
  35. 48.

    wtf

  36. 49.

    wtf

  37. 50.

    wtf

  38. 52.

    wtf

  39. 54.
  40. 55.
  41. 56.
  42. 57.
  43. 58.
  44. 59.

    wtf

  45. 60.

    wtf

  46. 61.
  47. 62.
  48. 63.

    wtf

  49. 65.
  50. 66.

    wtf

  51. 67.

    wtf

  52. 68.
  53. 69.

    wtf

  54. 70.

    wtf

  55. 73.

    wtf

  56. 74.

    wtf

  57. 75.

    wtf

  58. 76.

    wtf

  59. 77.

    wtf

  60. 78.

    wtf

  61. 79.