'Logical or assignment operator

what should I do with the logical OR assignment operator, and with the Nullish assignment operator, as when I'm writing them in VS code (first one should look like ||= , and the second one ??= ), but when I am saving them, the program automatically puts a space between them ( so the will look like || = , ? ? = , and I get an error on the console.

This would be the code, and I can't get rid of the spaces between the operators, every time when I'm saving it, vs code automatically puts a space between them. Thank you.

This is what I am talking about



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source