Russell Estcourt
02/16/2023, 4:07 PM<cfscript>
local.array = [1,2,3]
local.array.each((struct item, numeric rowNumber) => {
dump(arguments.item);
});
</cfscript>
This errors with Invalid call of the function [lambda_7o0h], first Argument [item] is of invalid type, Cannot cast Object type [Number] to a value of type [struct] as expected but no error on our staging env. Anyone know what config controls this?Adam Cameron
Adam Cameron
Russell Estcourt
02/16/2023, 5:39 PMzackster
02/17/2023, 12:02 AM