/*!
* arr-flatten <https://github.com/jonschlinkert/arr-flatten>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/'use strict';module.exports=function(arr){returnflat(arr, []);};functionflat(arr,res){vari=0,cur;varlen=arr.length;for(;i<len;i++){cur=arr[i];Array.isArray(cur)?flat(cur, res):res.push(cur);}returnres;}