Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

angular.Array.limitTo populates result with nulls if supplied limit exceeds input array's length #571

Closed
TEHEK opened this issue Sep 27, 2011 · 0 comments

Comments

@TEHEK
Copy link
Contributor

TEHEK commented Sep 27, 2011

Well... basically

Go to the live preview section in
http://docs.angularjs.org/#!/api/angular.Array.limitTo

Enter any number larger than 10 and notice nulls appearing at the end of result

Enter any number less than -10, notice results prepended by nulls

TEHEK added a commit to TEHEK/angular.js that referenced this issue Sep 27, 2011
`angular.Array.limitTo`'s  result cannot exceed original input array size
TEHEK added a commit to TEHEK/angular.js that referenced this issue Sep 28, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants