我想缩短我的 JS,但编译时出现错误。
来自以下点的错误警告:
default = {
Home:'',
Max: 5,
}
或者
items: {
visible: 1,
width: 200
}
华灵消息:
JSC_TRAILING_COMMA: Parse error. IE8 (and below) will parse trailing commas in array and object literals incorrectly. If you are targeting newer versions of JS, set the appropriate language_in option. at line 162 character 0
visible: 1,
JSC_TRAILING_COMMA: Parse error. IE8 (and below) will parse trailing commas in array and object literals incorrectly. If you are targeting newer versions of JS, set the appropriate language_in option. at line 249 character 0
Home:'',
告诉我如何解决这个错误。