Would say there is no parsing issue but not a JavaScript expert. Add ; after first line or add assignment operator to second line and works like a charm
double checked your example and it seems that the parentheses around (c1 + column("column2"))*2 are associated with the first line.
I’m no JavaScript expert myself, but this could be due to the fact that column("column1") itself could return another column that you could use.
To test that behavior I’ve written a small example for the Column Expressions node:
function a(){
return function b(a) {
return a + 3;
}
}
a()
(3+4)
The result I’ve obtain is 10, since a() returns function b and it gets feeded with the input 7.