YouTube

Got a YouTube account?

New: enable viewer-created translations and captions on your YouTube channel!

English feliratok

← Independent Research Quiz - JavaScript Basics

Beágyazókód kérése
4 Languages

Showing Revision 3 created 05/25/2016 by Udacity Robot.

  1. JavaScript includes many different syntaxes and
  2. techniques to accomplish the same goals.
  3. Just thinking about what we learned about objects alone,
  4. there are at least three different ways of defining objects.
  5. Literal, dot, and bracket notation.
  6. When you start debugging other people's code,
  7. you're going to have to wade through almost two decades of different syntax and
  8. techniques, layered one on top of the other.
  9. >> You know what?
  10. This sounds like a great quiz to me.
  11. This course isn't long enough to introduce everybody to all of
  12. the nuances of JavaScript.
  13. In fact, you could spend more than a hundred hours in a JavaScrip class without
  14. getting a complete picture of the language.
  15. >> Yeah.
  16. I think I see where you're going with this.
  17. Let's give students a piece of JavaScript, with some syntax they haven't yet
  18. encountered, and see if they can figure it out.
  19. >> This piece of code should look familiar.
  20. You saw something similar a few exercises ago,
  21. when you're tracking click locations on a website.
  22. There's this weird syntax here, with function, location, console.log, etc.
  23. What is going on here?
  24. What is document.click taking as a parameter?
  25. Do some research, try testing it out in DevTools, and
  26. put your thoughts right here.