Update rearg.md

This commit is contained in:
Angelos Chalaris
2020-01-13 10:06:31 +02:00
committed by GitHub
parent 202ef9d260
commit 16e9a50eab

View File

@ -1,6 +1,6 @@
---
title: rearg
tags: adapter,function,intermediate
tags: function,intermediate
---
Creates a function that invokes the provided function with its arguments arranged according to the specified indexes.
@ -19,4 +19,4 @@ var rearged = rearg(
[2, 0, 1]
);
rearged('b', 'c', 'a'); // ['a', 'b', 'c']
```
```