Skip to content

Douglas Crockford
douglascrockford

Organizations

@tc39
Jun 25, 2016
@douglascrockford
Jun 25, 2016
@douglascrockford
Jun 20, 2016
@douglascrockford
Jun 14, 2016
@douglascrockford
Jun 14, 2016
@douglascrockford

JSLint has stricter scope rules to help humans avoid confusion.

Jun 12, 2016
@douglascrockford
Jun 11, 2016
@douglascrockford

In the second case it is also the name of the setter function.

Jun 11, 2016
@douglascrockford
Inconsistent warning about redefinition
Jun 11, 2016
@douglascrockford

In the first case, the second x is a property. That is a separate namespace. I am not recommending that you use Hungarian notation. You might want …

Jun 11, 2016
@douglascrockford
Falsely reported redefinition
Jun 11, 2016
@douglascrockford

JSLint is warning you that you have too many things called x. That can lead to confusion, which can lead to bugs. Think of another name.

Jun 10, 2016
@douglascrockford
Jun 10, 2016
@douglascrockford
Jun 10, 2016
@douglascrockford
"Use spaces, not tabs." Column Index
Jun 9, 2016
@douglascrockford
Jun 9, 2016
@douglascrockford
Jun 7, 2016
@douglascrockford
Jun 6, 2016
@douglascrockford
Jun 5, 2016
@douglascrockford
Jun 5, 2016
@douglascrockford
Jun 5, 2016
@douglascrockford
Jun 3, 2016
@douglascrockford
May 25, 2016
@douglascrockford
Something went wrong with that request. Please try again.