Skip to content

Latest commit

 

History

History
59 lines (44 loc) · 1.98 KB

javascript.md

File metadata and controls

59 lines (44 loc) · 1.98 KB

JavaScript

The primary programming language used for client-side in-browser functionality.

Beginning JavaScript

You should be able to

  • Run programs.
  • Define a function.
  • Invoke a function.
  • Avoid syntax errors.
  • Print values.
  • Use common control flow structures.
  • Instantiate an object.
  • Initialize arrays using [].
  • Initialize empty objects and hashes using {}.
  • Iterate over collections.
  • Use Web Inspector to test your ideas.

Intermediate JavaScript

You should be able to

  • Avoid global variables.
  • Inherit classes using prototype.

Advanced JavaScript

You should be able to

  • Make HTTP requests.
  • Serialize and deserialize JSON.
  • Access and manipulate DOM elements.
  • Register and remove event handlers.
  • Respond to events.
  • Define functions that operate on window or DOM in scope of window.
  • Organize code into Models, Views, and Controllers.
  • Use Pub/Sub with DOM and non-DOM events.
  • Generate GUIDs.
  • Secure your application against cross-domain requests.
  • Persist data locally between page refreshes using localStorage.
  • Use the HTML5 History API.
  • Bind a view element to a JavaScript object (usually a model).
  • Conform to a style guide.

Ongoing Reference