array-copywithin
1.1.0 • Public • Published array-copyWithin
Polyfill for Array.prototype.copyWithin.
Usage
Functionally:
var copyWithin = require('array-copywithin');
var array = copyWithin([1, 2, 3, 4, 5], 0, 3);
console.log(array);
From Array object:
require('array-copywithin/shim');
var array = [1, 2, 3, 4, 5].copyWithin(0, 3);
console.log(array);
License
MIT © Shogo Sensui
Versions
Current Tags
Version | Downloads (Last 7 Days) | Tag |
---|
1.1.0 | 0 | latest |
Version History
Version | Downloads (Last 7 Days) | Published |
---|
1.1.0 | 0 | |
1.0.0 | 0 | |
Package Sidebar
Install
Weekly Downloads