When is an array not an array
posted by Chris on May 11, 2011 at 14:00
Coldfusion 9.0.1 added for-in looping over arrays, which is great, it's much simpler and a lot less verbose than having to iterate over with an index.
<cfscript>
for(item in myarray) {
doSomething(item);
}
</cfscript>