Steve
05/01/2024, 2:56 PMvar somestruct = {
param1: "1",
param2: "2",
};
The trailing comma for param2 is what I am calling out. I also commonly see code examples displaying the above "error" in github and cfdocs.org - the OCD in me classifies this as a syntax error.Scott Bennett
05/01/2024, 3:00 PMScott Bennett
05/01/2024, 3:01 PMMatt Jones
05/01/2024, 3:03 PMdswitzer
05/01/2024, 3:03 PMSteve
05/01/2024, 3:04 PMSteve
05/01/2024, 3:05 PMAdam Cameron
Adam Cameron
Steve
05/01/2024, 4:31 PMAdam Cameron
elpete
05/01/2024, 4:51 PMjc
05/01/2024, 6:47 PM