Skip to content

knunery/moore-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

moore-javascript

Learn JavaScript the Moore way.

  1. What does every function return by default (in JavaScript)?
  2. Are undefined and null equal to each other? If so, why?
  3. What are the data types in JavaScript?
  4. Does JavaScript have namespaces or modules?
  5. How are variables scoped in JavaScript?
  6. In the browser, what is the default scoping?
  7. How do you tell the number of arguments passed to a function?
  8. How do you check if an expected argument is not null?
  9. What are the two ways to run a function after some timeout period?
  10. What happens when you call a function that has not been defined?
  11. What happens when you use a variable that has not been defined?
  12. Write a function and demonstrate the 'this' pointer changing contexts.
  13. What is a common idiom for avoiding this changing contexts.
  14. Can you pass a function as an argument to another function?
  15. How do you call a function that has been passed as an argument?
  16. How do you create a function from a string at runtime?
  17. How do read the available properties of an object?
  18. What function does every object have by default?
  19. What is the difference between == and ===?
  20. Is 0 considered true or false (in JavaScript)? Where does this idiom come from?
  21. What is the type of an array object in JavaScript? Does this make sense?
  22. How do you test if an object is an array in JavaScript?
  23. Why should one prefer { } and [ ] when creating objects and arrays over new Object() and new Array()?

###Performance

  1. Why do for loops perform faster when you decrement an iterator as opposed to incrementing? (Still true?)

About

Learn JavaScript the Moore way.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published