Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
on Jan 14, 2012
|
parent
|
context
|
favorite
| on:
Search: .lenght - Github
[deleted]
Navarr
on Jan 14, 2012
|
next
[–]
The first results are all comments and spellcheckers.
udp
on Jan 14, 2012
|
prev
[–]
It's not, because reutrn is a syntax error, but .lenght is valid and would return `undefined`.
jaspervdj
on Jan 14, 2012
|
parent
[–]
Yes it is, it would work fine as a
variable
. E.g.
var lenght = 23; console.log(lenght);
will not cause any troubles. And many of the results returned by the search are of this kind.
udp
on Jan 14, 2012
|
root
|
parent
[–]
Were you replying to me? I explicitly said
.lenght
would return undefined. As in, a typo on the .length property.
jaspervdj
on Jan 14, 2012
|
root
|
parent
[–]
Sorry -- I figure I misunderstood you.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: