Skip to content

Commit

Permalink
Add update array
Browse files Browse the repository at this point in the history
  • Loading branch information
Pieter committed Sep 25, 2020
1 parent e65e46c commit cc610bf
Show file tree
Hide file tree
Showing 14 changed files with 191 additions and 9 deletions.
39 changes: 39 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,45 @@ exampleArray.last;
3
```

## update

Update items in an array.

```
var exampleArray = new Arr([
{
id: 1,
name: 'first'
},
{
id: 2,
name: 'second'
}
]);
exampleArray.udate(
[
{
name: 'last'
}
],
[
'id'
]
);
[
{
id: 1,
name: 'first'
},
{
id: 2,
name: 'last'
}
]
```


## Test the package.

Expand Down
10 changes: 10 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
3.6.0 - 2020-09-23
=====

* Add update array

3.5.0 - 2020-09-23
=====

* Use import and export

3.4.0 - 2020-09-23
=====

Expand Down
2 changes: 1 addition & 1 deletion dist/helpers.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/helpers.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/helpers.modern.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/helpers.modern.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit cc610bf

Please sign in to comment.