error Trailing comma before closing bracket