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?

Onward

Write a reply

© 2009-2015 Brett Slatkin