jsmp-infra-derevianko-stanislav-hw6
v6.6.7
Published
``` $ npm install jsmp-infra-derevianko-stanislav-hw6 ```
Downloads
1
Readme
How to work with Derevianko arrays package? - hw6
Install
$ npm install jsmp-infra-derevianko-stanislav-hw6
arraySlice
Usage
const someInstance = require('jsmp-infra-derevianko-stanislav-hw6');
someInstance.arraySlice(array, start, end)
Arguments
array (Array): The array to slice.
[start=0] (number): The start position.
[end=array.length] (number): The end position.
stringReplace
Usage
const someInstance = require('jsmp-infra-derevianko-stanislav-hw6');
someInstance.stringReplace(string, pattern, replacement);
Arguments
[string=''] (string): The string to modify.
pattern (RegExp|string): The pattern to replace.
replacement (Function|string): The match replacement.