Using conditionals inside template literals May 25, 2023 by Tarik Use this: let a = `test${conditional ? a : b} more text`;