Skip to content · ⁨Pular para o conteúdo⁩
English

A cleaner way to build strings

  • Wrap a string in backticks ` and you can drop values straight in with ${...}.
  • This is a template literal — much tidier than joining with lots of +.

Português

Uma forma mais limpa de construir strings

  • Envolver uma string em backticks ` permite inserir valores diretamente com ${...}.
  • Esta é uma literal de modelo — muito mais limpa do que juntar com muitas +.

Uma literal de modelo: cada ${...} é substituído por seu valor, construindo uma string finalizada

Log in or create account · ⁨Entrar ou criar conta⁩

IGCSE, A-Level & AP