/flattenlev

Primary LanguageJavaScript

flattenlev

This is a function to flatten arrays e.g. flattenlev([1,[3]]) returns [1, 3]