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

222
Visualizações
Exclamation point and dot in JS or TS (ex: obj.prop!.value)

I was reading this article on using observables and came across several instances where the writer wrote something like this:

map((value: IObj) => {
  return value.name!.value; // << What is this??
})

I've never seen this exclamation point and dot combo before. The writer does this a few times in the article for me to think that it's a typo. I know about ?. but I've never seen !. in JS, TypeScript, or Flow.

Can someone help me understand what that is? Specifically:

  • what is it called?
  • Is it JS or TS?
  • If JS, when was it introduced?
  • Most importantly, what does it do?
about 4 years ago · Juan Pablo Isaza
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