align filter function in javascript code example Example: does filter change original array Note: filter() does not change the original array.