]> code.delx.au - gnu-emacs-elpa/commitdiff
keywords-as-property-names is also valid JS 5.1
authorDmitry Gutov <dgutov@yandex.ru>
Sun, 17 Feb 2013 03:14:38 +0000 (07:14 +0400)
committerDmitry Gutov <dgutov@yandex.ru>
Sun, 17 Feb 2013 03:14:38 +0000 (07:14 +0400)
Refs #41

js2-mode.el

index e56f3cd5e76d3fe85341e80c45de918ad05b1841..d23d8a18c31ee61c68a462838a95979fcc4261d9 100644 (file)
@@ -405,7 +405,7 @@ Examples:
   var foo = {int: 5, while: 6, continue: 7};
   foo.return = 8;
 
-Ecma-262 forbids this syntax, but many browsers support it."
+Ecma-262 5.1 allows this syntax, but some engines still don't."
   :type 'boolean
   :group 'js2-mode)