Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flpvsk/array-cut-and-paste
Cut and paste element in the array.
https://github.com/flpvsk/array-cut-and-paste
Last synced: about 1 month ago
JSON representation
Cut and paste element in the array.
- Host: GitHub
- URL: https://github.com/flpvsk/array-cut-and-paste
- Owner: flpvsk
- License: mit
- Created: 2015-07-16T15:57:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-18T07:52:11.000Z (over 9 years ago)
- Last Synced: 2024-04-26T04:04:54.564Z (9 months ago)
- Language: JavaScript
- Size: 133 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## array-cut-and-paste
```js
import cutAndPaste from 'array-cut-and-paste';const arr = [0, 1, 2, 3];
const result = cutAndPaste(arr, 0, 3);
console.log(result); // [1, 2, 3, 0]
```### License
array-cut-and-paste is freely distributable under the terms of the MIT
license.