/javascript-methods

custom javascript methods

Primary LanguageJavaScript

Overview

Non-desctructive version of some destructive array methods

Documentation

nonDesctructiveReversed() --> reverse()

nonDesctructiveSort() --> sort()

nonDestructiveSplice() --> splice()

arrIdxVal() --> array[idx]=value