Appearance
Disallow empty character classes in regular expressions
Because empty character classes in regular expressions do not match anything, they might be typing mistakes.
var foo = /^abc[]/;