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?

Follow-up

Comment with Open ID

Comment with Google+

© 2009-2014 Brett Slatkin