Instruções

Passo 7

Agora é hora de ver os resultados de remover espaços em branco no início da string. Abaixo da sua variável trimmedStart, adicione um console.log() com a string "After using the trimStart() method, leading spaces removed:". Então, abaixo daquele console.log(), adicione outro console.log() com a variável trimmedStart.

O que fazer:

Testes:

  • Você deve registrar a string `"After using the trimStart() method, leading spaces removed:"` no console.
  • Você deve registrar a variável `trimmedStart` no console.

Console