Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fastcodejava committed Apr 12, 2017
1 parent 17fdf14 commit d679569
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ console.log(r); // // [{cost: 20, num: 1}, {cost: 30, num: 2}]

<a name="size" />
This rule is primarily used to get the length of an array. It is also valid for length of string and object.
If it is in the context of an array the `size` will print the length of the array. If not it will check if it is in the same template with the `dataKey`.

```js
var template = {
Expand Down

0 comments on commit d679569

Please sign in to comment.