I am trying to compile Js code in google compiler and I am getting error in this code
var settings = { providers: ['A', 'B', 'C'], interface: 'basic16', apikey: 'XXXXX-XXXXX-XXXXX-XXXXXXXXXX' }
Mistakes
JSC_PARSE_ERROR: Parse error. invalid property id at line 3 character 10 interface: 'basic16', ^ JSC_PARSE_ERROR: Parse error. syntax error at line 3 character 11 interface: 'basic16', ^ JSC_PARSE_ERROR: Parse error. syntax error at line 4 character 8 apikey: 'XXXXX-XXXXX-XXXXX-XXXXXXXXXX' ^
But this code is great for me in any browser (chrome, firefox, opera, safari, IE7,8,9)
source share