History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-25525
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Maxim Mossienko
Reporter: Richard Bondi
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Valid javascript flagged as potentially invalid

Created: 14 Mar 08 22:39   Updated: 28 Mar 08 23:10
Component/s: JavaScript
Fix Version/s: Diana 8280, Selena 7.0.4

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: None
Image Attachments:

1. Picture 3.png
(38 kb)
Environment: OSX 10.5

Build: 7,590
Fixed in build: 8,256
Severity: Low


 Description  « Hide
As shown in the attached screenshot, javascript of the form

x && y

is being shown as likely invalid.

But if the right-most expression is a function, this is just a way to avoid writing an "if" statement for the last function, and is valid in javascript.

So for that case at least, this shouldn't be flagged as an error.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.