Priority
Normal
Type
Bug 
State
Fixed 
Assignee
Maxim Mossienko 
Subsystem
JavaScript 
Affected versions
Fixed in
Fixed in build
Next build 
Build
7590
Fixed in build
7756
Severity
0
  • Submitted by   Serge Baranov
    22 months ago (11 Mar 2008 21:34)
  • Updated by   root
    3 weeks ago (17 Jan 2010 19:58)
  • Jira: IDEA-43141
    (history, comments)

IDEA-43141

Javascript Array Literal Syntax Inspection

0
Support feedback:

Shouldn't the following JavaScript statement produce a syntax error highlight in the editor?
var foo = [{b: 'b'} {a: 'a'} {r: 'r'}];

The lack of commas between object literals does not seem to matter, even though this is an illegal JavaScript expression.



Issue was resolved
Comments (0)
 
History (1)
 
Links
 
Issue has no comments