Trim array like string.trim for next.
npm install -S @jswork/next-array-trim
import '@jswork/next-array-trim';
const arr = [undefined, undefined, undefined, 'a', 'b', 'c', undefined];
nx.arrayTrim(arr, undefined); // ['a','b','c']
Code released under the MIT license.