Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

array.length is a property not a function #2469

Closed
reduxdj opened this issue Jul 28, 2012 · 2 comments
Closed

array.length is a property not a function #2469

reduxdj opened this issue Jul 28, 2012 · 2 comments

Comments

@reduxdj
Copy link

reduxdj commented Jul 28, 2012

Coffeescript
self.index = (self.array.length -1)

Generated:
self.index = self.array.length(-1);

@michaelficarra
Copy link
Collaborator

Then why are you calling it? Whitespace is significant. self.array.length - 1.

@reduxdj
Copy link
Author

reduxdj commented Jul 28, 2012

I don't know. maybe i am retarded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants