0
为什么我越来越被捕获SyntaxError:意外的令牌。下面的代码错误?控制台工作,但我的if语句被破坏。为什么?未捕获的SyntaxError:意外的令牌。在jquery
var locations = $('myDiv');
console.log(locations.scrollTop(),locations.outerHeight())
if ((locations.scrollTop()) => (locations.outerHeight())){ //error here
alert('end');
}
'=>'to'> ='..... –