Perhaps there is an extra comma at the end of a list. For example:
var request = dojo.io.bind({
url: this.actionURL,
method: 'get',
content: {
id: this.rowId,
field: this.dbField,
value: this.checkbox.checked
}, // this comma shouldn't be here!
});
Or:
var foo = [ 1 , 2, 3, ];
Or:
var obj = {
apple: "delicious",
brussel sprouts: "yucky",
};