ParentFull threadzackattack·You can set up your IDE to automatically run your code through JSLint or JSHint, which will detect such errors.View on HN