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
    关注

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

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

报告相同问题?

悬赏问题

  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!
  • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?
  • ¥15 求daily translation(DT)偏差订正方法的代码
  • ¥15 js调用html页面需要隐藏某个按钮
  • ¥15 ads仿真结果在圆图上是怎么读数的
  • ¥20 Cotex M3的调试和程序执行方式是什么样的?
  • ¥20 java项目连接sqlserver时报ssl相关错误