我已经看过标题中的错误多次在我们的日志中出现。它是从下面的代码片段中的最后一行抛出的。根据我的研究,在尝试访问不存在的变量时会抛出此错误;但是,我的印象是我正在检查第1行的存在。
if(rental_application.rental_history && rental_application.rental_history.length > 0) {
candidate.rental_history = [];
_.each(rental_application.rental_history, function(rental) {
这可能是什么问题?