ValidateJavaScript does not apply the correct syntax highlighting to template literals containing optional chaining operators. Test with the following line of code: \`The ${colour?.name || 'marked'} area is a magic square.\`; // AFU
ValidateJavaScript does not apply the correct syntax highlighting to template literals containing optional chaining operators.
Test with the following line of code:
`The ${colour?.name || 'marked'} area is a magic square.`; // AFU