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

In 2.1.0 not support @.length Filter ,but in 2.0.0 support #198

Closed
ghost opened this issue Feb 24, 2016 · 2 comments
Closed

In 2.1.0 not support @.length Filter ,but in 2.0.0 support #198

ghost opened this issue Feb 24, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Feb 24, 2016

In 2.0.0 support :

$.store.book[(@.length-2)].author

but in 2.1.0 don't support .

@mika91
Copy link

mika91 commented Aug 24, 2016

Not working in 2.2.0 anymore.
It was very conveniant to get the last element of an array.

@jochenberger
Copy link
Contributor

In the upcoming version, you'll be able to use negative array indexes, i.e. $.store.book[-1].title to get the last book's title.

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

No branches or pull requests

3 participants