Echo JS 0.11.0


ben 547 days ago. link 1 point
As MaxArt implies, if you're transpiling or using recent Node, use backticks.
MaxArt 547 days ago. link 1 point
I've always used double quotes, but mainly because I was already used to them from other languages (C, Java, Basic... you name it). When I became a JS developer I just stuck to them.

In PHP I mainly use single quotes, though, since I don't want interpolation by default.

It doesn't matter what you choose, just be consistent with it. And anyway, we'll soon be all using backticks anyway.