qulun 2010-08-21 13:50
浏览 2169
已采纳

请帮忙解决一下JS中的missing ; before statement错误!!!!

错误在最后三行
倒数3:missing ; before statement
倒数2:syntax error
倒数1:missing } in compound statement

代码如下:
{

data : [

["007","Coral",12,30,0.33,1,0.1,"Customer","UPS","Some notes"],
["005","Cameos",64.8,77,0.07,1,0.3,"Branch","Fedex","-"],
["004","Aquamarine",32.4,23,0.25,1,0.3,"Deliver Center","UPS","-"],
["013","Glass",45,67,0.16,1,0.05,"Customer","Other","What?"],
["012","Garnet",25.9,84,0.29,0,0.1,"Customer","WestUnion","Deliver to my home"],
["015","Onyx",24.1,56,0.22,1,0.4,"Branch","WestUnion","Deliver to my home"],
["013","Glass",45,53,0.06,0,0.4,"Deliver Center","Fedex","Some notes"],
["005","Cameos",64.8,72,0.3,0,0.3,"Branch","Other","Some notes"],
["007","Coral",12,83,0.39,1,0.4,"Customer","UPS","Deliver to my home"],
["016","Opal",2.3,23,0.13,0,0.05,"Customer","Other","-"],
["014","Moissanite",31,73,0.04,1,0.3,"Branch","WestUnion","What?"],
["012","Garnet",25.9,32,0.32,1,0.05,"Customer","Fedex","What?"],
["002","Amber",56,60,0.18,1,0.4,"Other","WestUnion","Some notes"],
["017","Pearl",27,64,0.33,0,0.05,"Deliver Center","Fedex","What?"],
["016","Opal",2.3,12,0.4,0,0.1,"Deliver Center","WestUnion","-"],
["014","Moissanite",31,45,0.16,0,0.05,"Other","UPS","Some notes"],
["004","Aquamarine",32.4,35,0.17,0,0.3,"Customer","UPS","-"],
["014","Moissanite",31,95,0.1,0,0.1,"Customer","WestUnion","Deliver to my home"],
["017","Pearl",27,91,0.17,1,0.05,"Customer","Fedex","-"],
["011","Enamel",28,4,0.11,1,0.05,"Customer","Fedex","Some notes"],
["014","Moissanite",31,38,0.24,1,0.2,"Deliver Center","WestUnion","-"],
["016","Opal",2.3,38,0.14,0,0.2,"Other","UPS","-"],
["005","Cameos",64.8,17,0.11,1,0.3,"Branch","UPS","-"]
],
pageInfo : {totalRowNum:23},

exception:''

}

在线急等,跪谢!!!!

  • 写回答

1条回答 默认 最新

  • CaiHuajiang 2010-08-21 15:11
    关注

    就是那里漏了}号。
    语句快没有结尾了

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥50 导入文件到网吧的电脑并且在重启之后不会被恢复
  • ¥15 (希望可以解决问题)ma和mb文件无法正常打开,打开后是空白,但是有正常内存占用,但可以在打开Maya应用程序后打开场景ma和mb格式。
  • ¥20 ML307A在使用AT命令连接EMQX平台的MQTT时被拒绝
  • ¥20 腾讯企业邮箱邮件可以恢复么
  • ¥15 有人知道怎么将自己的迁移策略布到edgecloudsim上使用吗?
  • ¥15 错误 LNK2001 无法解析的外部符号
  • ¥50 安装pyaudiokits失败
  • ¥15 计组这些题应该咋做呀
  • ¥60 更换迈创SOL6M4AE卡的时候,驱动要重新装才能使用,怎么解决?
  • ¥15 让node服务器有自动加载文件的功能