If you're getting this error, chances are you have an extra comma after a curly brace:
a = {
b: function() { },
c: function() { }, }
Get rid of the trailing comma and your JS error woes will disappear!
Your Technical Buddy
If you're getting this error, chances are you have an extra comma after a curly brace:
a = {
b: function() { },
c: function() { }, }
Get rid of the trailing comma and your JS error woes will disappear!