var request = store.delete(key);
var request = store["delete"](key);
This is the case were using a reserved word can bite you. I would have expected one of two things:
- W3C would be aware of that and maybe call the objectStore’s function remove in the specifications. This won’t break very necessary tools.
- The tool writers will be aware of this problem and fix it in the minification process.
I hope you won’t be forced to use the “uglify” alternative in the future but who knows.