Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/476.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/243.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript bigpipe.js的chrome中未捕获的syntaxerror意外标记_Javascript_Php_Jquery_Google Chrome - Fatal编程技术网

Javascript bigpipe.js的chrome中未捕获的syntaxerror意外标记

Javascript bigpipe.js的chrome中未捕获的syntaxerror意外标记,javascript,php,jquery,google-chrome,Javascript,Php,Jquery,Google Chrome,我正在使用bigpipe.js方法来显示我的网站的新闻提要。它在除google chrome之外的所有浏览器中都工作正常。在chrome中,它显示“uncaught syntaxerror unexpected token=”错误。请帮我纠正这个错误。这样做吧 function photoPopUp(aid,im_type,im_cat){ if (typeof(im_cat) === undefined) im_cat = 0 // your code here } 你能告诉

我正在使用bigpipe.js方法来显示我的网站的新闻提要。它在除google chrome之外的所有浏览器中都工作正常。在chrome中,它显示“uncaught syntaxerror unexpected token=”错误。请帮我纠正这个错误。

这样做吧

function photoPopUp(aid,im_type,im_cat){
    if (typeof(im_cat) === undefined) im_cat = 0
    // your code here
}

你能告诉我们这个错误被抛出的地方吗。你能发布那行代码吗。函数photoPopUpaid,im_类型,im_cat=0{