Skip to content

Commit 890c425

Browse files
jasperSpeichernetman92
authored andcommitted
docs(ngRepeat): improve the explanation of keys
Closes angular#11310
1 parent 732f23e commit 890c425

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ng/directive/ngRepeat.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
* <div ng-repeat="(key, value) in myObj"> ... </div>
3434
* ```
3535
*
36-
* You need to be aware that the JavaScript specification does not define what order
37-
* it will return the keys for an object. (To mitigate this in Angular 1.3 the `ngRepeat` directive
36+
* You need to be aware that the JavaScript specification does not define the order of keys
37+
* returned for an object. (To mitigate this in Angular 1.3 the `ngRepeat` directive
3838
* used to sort the keys alphabetically.)
3939
*
4040
* Version 1.4 removed the alphabetic sorting. We now rely on the order returned by the browser

0 commit comments

Comments
 (0)