【刷算法】连续子数组的最大和<pre<codefunctionFindGreatestSumOfSubArray(arr){if(arr.length0)return;if(arr.length1)returnarr0;var