Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zntgrf/arraysplicereorder


https://github.com/zntgrf/arraysplicereorder

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# ArraySpliceReorder

Mit dieser Funktion kann man ein Array auf basis der splice-Funktion neu sortieren.

## Beispiel

```js
const base = [0,1,2,3,4,5,6,7,8];

const new = arraySpliceReorder(base, [-1,0,-1]);

// output: [8,0,7,6,1,5,4,2,3]

```