More often than not you're going to be having HTML mixed in with a string that just so happens to contain an apostrophe.

It seems wrong to have
``` javascript
var x = "Hello, here's an apostrophe example";
var y = 'Hello, here is an apostrophe example';
```