/**
* NAME OF THE METHOD
*
* DESCRIPTION
*
*
* PARAMETERS if present
*
*/
// examples and using of the method
// the initial array of number or string
const array = [1, 2, 3, 4];
// print the initial array
console.log("initialArray:", array);
// examples of the usage of the method
//...