js报错 Uncaught TypeError: xxxx.each is not a function

在处理ajax返回的json数组时错误的使用了 

list.each(function(){
            
        });

实际上当遍历json数组是应该使用

    $.each(list,function(index,course){
        
    });

 

转载于:https://www.cnblogs.com/fanwenhao/p/8302028.html