When I write
console.log("entered values are "+A+" and "+B);
the tsLint
gives a warning that single quotes should be used. However, I discovered that if I use single quotes, I am unable to include multiple variables in the same console.log
, like so:
console.log('entered values are '+a+' and '+B);
Is it true that when the tslint
quote warning is turned on, multiple variables cannot be used with single quotes?