This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 21665 - I'm playing a little with the sample code and I've found that jshint identifies the following issue, maybe it is something you might want to fix. http://www.whatwg.org/demos/workers/primes/worker.j [...]
Summary: I'm playing a little with the sample code and I've found that jshint identifi...
Status: RESOLVED NEEDSINFO
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-11 12:44 UTC by contributor
Modified: 2013-04-11 19:31 UTC (History)
2 users (show)

See Also:


Attachments

Description contributor 2013-04-11 12:44:35 UTC
Specification: http://www.w3.org/TR/workers/
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
I'm playing a little with the sample code and I've found that jshint
identifies the following issue, maybe it is something you might want to fix.

http://www.whatwg.org/demos/workers/primes/worker.js

$ jshint worker.js
worker.js: line 5, col 15, Use '===' to compare with '0'.

Posted from: 134.134.137.71
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31
Comment 1 Ian 'Hixie' Hickson 2013-04-11 19:31:30 UTC
I don't really see what difference it could make here. Can you elaborate?