Community

Scope Traversal Behavior With Undefined Function Arguments In Lucee CFML 5.3.6.61

(Ben Nadel) Just now, as I was looking at iterating over Structs using CFLoop in Lucee CFML, I ran into a fun little behavior of the ColdFusion language: Scope traversal will skip-over undefined function arguments and access like-named values in higher-up scopes.




Facebooktwitterredditpinterestlinkedinmail