Error: SyntaxError: expected expression, got ')'
Source file: https://tutanota.com/index.js
Line: 159, Column: 24
func(parametr1, parametr2, )
We have trailing comma after parametr2.
JavaScript has allowed trailing commas in array literals since the beginning, and later added them to object literals (ECMAScript 5) and most recently (ECMAScript 2017) to function parameters.
Forum:
General