I have to disagree. Use the most-restrictive string literal whereever possible. Don't need apostrophes? Use '. Don' t need interpolation (in JS)? Use ".
Though, to be fair, I've reneged a bit on that and am now enforcing "" unless template literals are needed" in our linter rules.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I have to disagree. Use the most-restrictive string literal whereever possible. Don't need apostrophes? Use
'
. Don' t need interpolation (in JS)? Use"
.Though, to be fair, I've reneged a bit on that and am now enforcing "
"
unless template literals are needed" in our linter rules.