题目链接:https://leetcode.cn/problems/maximum-subarray/
/** * @param {number[]} nums * @return {number} */ var maxSubArray = function(nums) { };