Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

378
Visualizações
angular azure app configuration giving SCRIPT1002: Syntax error in IE11

this is the line in IE11 console vendor.js (65816,1);

class AppConfigCredential {
constructor(credential, secret) {
    this.credential = credential;
    this.secret = secret;
}

Iam trying read the feature flags from azure appconfiguration from angular it's working fine for all the browsers except in IE11 i tried replacing polyfiles and by adding tsconfig-es5.app and changing in angular json as required but no use and calling function is.

enter code here
async GetFeatureToggleValue(key: any) {
   const client = new AppConfigurationClient(this.AppconfigURL);;
   return await client.getConfigurationSetting({ key: 
   ".appconfig.featureflag/" + key }, { onlyIfChanged: true }); }
about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

The class keyword was introduced in ES2015/ES6. Internet Explorer 11 does not support ES6 and later versions of JavaScript. (Chrome is currently at ES12).

You can use this SO answer to use babel to transpile your code to ES5.

However, if possible try to avoid developing for IE11 itself, as it will be removed from Windows 10 in June 2022. (source: blog.windows.com)

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda