Skip to main content

Diigo Home

Browser's implied globals / Stoyan's phpied.com - The Diigo Meta page

www.phpied.com/browser-implied-globals - Cached

This link has been bookmarked by 2 people . It was first bookmarked on 21 Oct 2009, by Javier Neira.

  • 22 Oct 09
    gialloporpora
    gialloporpora

    Like it's not bad enough that JavaScript has implied globals (forget var and you create a global), but the browsers have decided it's a good idea to add more pollution to the global namespace.

    javascript browser

  • 21 Oct 09
    • Hi Stoyan, for completeness, Google Chrome unsurprisingly mirrors the results from Safari…


      paragraph-id: object

      form-name: object

      form-id: object

      input-id: object

      link-id: object

      div-id: object

    • does those global variables get declared when user inserts node dynamically, from Javascript. This could lead to overwriting existing variables.