When using ? as optional chaining operator: `return brand?.brandId;` formatting the code will result in: `return brand ? .brandId;` which results in a javascript runtime error: SyntaxError: Unexpected token '.'
When using ? as optional chaining operator:
return brand?.brandId;formatting the code will result in:
return brand ? .brandId;which results in a javascript runtime error:
SyntaxError: Unexpected token '.'