The Art of Writing Short Stories Read Here
Introduction In JavaScript, the array data type consists of a list of elements. There are many useful built-in methods available for JavaScript de…