4 ms·
JavaScript has this with template strings. I use it often: s = `something ${cond ? `(${v})` : ''} something`
by DecoPerson 3y ago
JavaScript has this with template strings. I use it often:
s = `something ${cond ? `(${v})` : ''} something`
4 ms·