Check for methods on prototype; missing =

The methods for String and Date can be checked for on the prototype, and at least for toLocaleFormat, is only available there.

In Firefox (where toLocaleFormat is supported natively, at least for now):
```
typeof Date.toLocaleFormat => "undefined"
typeof Date.prototype.toLocaleFormat => "function"
```

Missing = looks like a typo.