SOURCE

const data = [
    {userId: 1, name: '小明', chineseScore: 90, mathScore: 90},
    {userId: 2, name: '小张', chineseScore: 60, mathScore: 90},
    {userId: 3, name: '小赵', chineseScore: 100, mathScore: 90},
    {userId: 4, name: '小刘', chineseScore: 80, mathScore: 90},
    {userId: 5, name: '小米', chineseScore: 50, mathScore: 90},
]
const filterStudent = (arr, target) => {
    
};
/* 给定 nums = [3, 2, 7, 11, 15], target = 9
    因为 nums[1] + nums[2] = 2 + 7 = 9
    所以返回 [1, 2]
*/
const twoSum = (nums, target) => {
    
};

console 命令行工具 X clear

                    
>
console