ong-z
12/22/2015 - 5:03 AM

Javascript Notes

Javascript Notes

// check type
typeof "foo"
typeof(x)

window.document.location // is obsolete (or deprecated at the very least) 
window.location // use this instead.