JavaScript函数报错SyntaxError: expected expression, got ';'
故事背景:Javaweb项目,运行时firebug报错SyntaxError:expectedexpression,got';'或者SyntaxError:expectedexpression,got'if'等检查firebug下提示的错误代码部分为$(document).ready(function(){vars=;if(s==null||s==""){alert("请登录");location