您的位置首页生活百科

unexpected end of input

unexpected end of input

的有关信息介绍如下:

unexpected end of input

unexpected end of input

关于这个jquery这个错误的说法,网上有很多,但是都不是很明确

自己测试了很久

首先看源代码

点击click

报错:Uncaught SyntaxError: Unexpected end of input

这是由于,这里写错了,少写了参数

改成如下:正确输出结果

click