We are seeing this bug for Javascript files where a comma is used to separate expressions instead of a semicolon:
We get this finding:
“Expected an assignment or function call and instead saw an expression”
Example, which is giving the bug but is valid Javascript:
x = 1, y = 2;
instead of:
x=1;
y=2;