Inspectopedia
 
2024.3

String concatenation is used instead of template literal

Info
Code Style
New
Last modified: 03 December 2024

Reports a string concatenation. Suggests replacing it with a template literal

Example

"result: " + a + "."

After applying the quick-fix the code looks as follows:

`result: ${a}.`