- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
35 | Expected a conditional expression and instead saw an assignment. (W084) | if (o=0){ |
51 | Expected a conditional expression and instead saw an assignment. (W084) | if (vo=0) |
54 | Expected an assignment or function call and instead saw an expression. (W030) | qo++; |
65 | Expected a conditional expression and instead saw an assignment. (W084) | if (b=0) { |
77 | Expected a conditional expression and instead saw an assignment. (W084) |
if (b=0) {
how can i solve it ? |
- Tags:
- HTML5
- Intel® XDK
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In Javascript = assigns a variable. And == compares them.
So you wanted:
if (o == 0){ }
etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
54
Expected an assignment or function call and instead saw an expression. (W030)
qo++;
???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
is this a minified file? If so, you should probably ignore the JSHint warnings.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page