Skip to content

Instantly share code, notes, and snippets.

@overthemike
Created July 2, 2012 22:51
Show Gist options
  • Save overthemike/3036220 to your computer and use it in GitHub Desktop.
Save overthemike/3036220 to your computer and use it in GitHub Desktop.
Javascript - reference https://developer.mozilla.org/en/JavaScript/Reference
Comments
Variables
- can store any value
Types
Number
String
Boolean
Object
Null
Undefined
Strings
Methods & Properties (strings are objects)
length
indexOf
charAt
replace
substr
trim
more (https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/String#Methods)
Numbers
Math
NaN
Comparisons
truthy/falsy values
undefined vs null
Conditionals
If
Switch
Loops
while
for
for in
touch on hasOwnProperty
Functions
Functions are objects
anonymous functions
Arrays
Objects
Operators
Arithmetic
Assignment
Comparison
Logical
String
Member (object.property and object["property"])
Bitwise (only touch on the fact that these exist)
Ternary
jQuery
Explanation of unobtrusive js
What's the $ about?
Selectors and how they are similar/different from CSS
Dom Traversal
Difference between native dom objects & js objects
$.each
Method chaining
Dom Manipulation
Binding events
callbacks
Basic animation & effects
AJAX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment