Inspections-JS issue
Consider the following code:
var myObject = ;
delete myObject.theProperty;
The result is that myObject will only have someProperty, as theProperty
will get deleted.
Inspections-JS states "Expression statement is not assignment or call".
Thanks,
Amnon
请先登录再写评论。
Hi,
Looks like better post this to Jira or Inspections-JS forum.
By the is it JS syntax to clear property?
Thanks,
Dmitry
What version of Inspection-JS are you using? This is a known issue, and was thought to be fixed in the most recent release.
For future reference, this sort of thing is better posted to either the Inspection-JS JIRA http://www.jetbrains.net/jira/secure/BrowseProject.jspa?id=10182 , or the Inspection-JS forum http://intellij.net/forums/forum.jsp?forum=66 .
Sixth and Red River Software
"Code with Grace and Verve"
Sixth and Red River Software wrote:
It's funny, the response to Inspection-JS problems posted here is pretty
quick. While there are some issues posted on the forum, which have not
been responded to since January 6th. Which is better? ;)
Bas
Funnily enough I was just about to post the same thing! :)