array-restore.js
v1.0.1
Published
Store and restore values which you popped, unshifted or deleted from an array.
Downloads
7
Readme
Array restore
arrayRestore.storeValue(5, 'Five');
arrayRestore.getValue();
arrayRestore.changeValue(60, 'Sixty');
const array = [1,2,3,4,5];
arrayRestore.pushValue(array);
const array = [1,2,3,4,5];
arrayRestore.pushValue(array, 2); // array = [1,2,60,3,4,5];