Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 365 Bytes

common_idioms.md

File metadata and controls

12 lines (11 loc) · 365 Bytes

TODO:

  1. Naming things
  2. Looping over Arrays & Objects: for, while, forEach, map, filter idioms
  3. default values (ES5 style)
  4. named parameters
  5. forcing booleans (!!) and coercion
  6. conditional execution & the comma operator
  7. functions
  8. function arguments (by value or by reference?)
  9. function mapping & native objects
  10. call, apply & bind