JSLint is designed to produce more human-readable code, using the rules defined by whoever wrote JSLint (which may be based on other peoples' opinion, but ultimately is just opinion)
Therefore, !==
is more human-readable than !=
because it makes it obvious that the comparison is strict. However, you know different because ta.value
and ta.defaultValue
are indeed always strings, so you aren't required to follow JSLint's advice.
Similarly, parenthesising the &&
expression makes it more human-readable, because it makes it clear what order things are run in. While you may know order of precedence, not everyone does at a glance and may interpret it wrong.
To restate, JSLint is advice and opinion, not law.