I'm Brett Slatkin and this is where I write about programming and related topics. Check out my favorite posts if you're new to this site. You can also contact me here or view my projects.

26 July 2012

Window, you so crazy

> window.alert
  function (alertText) { ... }
> !!window.alert
  true
> window.alert = null
> !!window.alert
  false
> delete window.alert
> !!window.alert
  true  // wut?
© 2009-2016 Brett Slatkin