I'm Brett Slatkin and this is where I write about programming and related topics. You can 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-2024 Brett Slatkin