Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for answer to Is there a JavaScript equivalent of PHP’s "variable variables"? by aidanjacobson

Current License: CC BY-SA 4.0

Post Revisions

4 events
when toggle format what by license comment
Jul 7, 2022 at 0:05 comment added ggorlen Almost always, better to namespace it into an object than attach all your variables globally on the window. Why? Scoping helps contain bugs, avoids name clashes and makes code easier to understand.
May 18, 2021 at 21:10 history edited Peter Mortensen CC BY-SA 4.0
Active reading [<https://en.wikipedia.org/wiki/JavaScript>].
Nov 9, 2014 at 1:09 review Late answers
Nov 9, 2014 at 1:10
Nov 9, 2014 at 0:50 history answered aidanjacobson CC BY-SA 3.0

AltStyle によって変換されたページ (->オリジナル) /