Tôi cần phải sửa đổi những dòng này để làm cho jshint vui vẻ như thế nào?Tại sao jshint không nhận ra một bài tập như một biểu thức?
Bài tập là một biểu thức. Tại sao jshint không hiểu điều này? Rõ ràng là thông dịch viên.
Line 572: while(bookmark_element=bookmark_list[iterator++])
Expected a conditional expression and instead saw an assignment.
Line 582: while(bookmark_element=bookmark_list[iterator++])
Expected a conditional expression and instead saw an assignment.
Line 623: while(element_iterator=element_iterator.nextSibling)
Expected a conditional expression and instead saw an assignment.
Làm cách nào để truyền tới bool? –