What is wrong? could someone help me please

Conte-nos o que está acontecendo:
Descreva detalhadamente o problema aqui.

  **Seu código até o momento**

// Configuração
var sum = 0;

function addThree() {
sum = sum + 3;

// Altere apenas o código abaixo desta linha

function addFive() {
sum += 5;

// Altere apenas o código acima desta linha

  **Informações de seu navegador:**

Agente de usuário: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.164 Safari/537.36

Desafio: Entendendo Valor Undefined retornado de uma Função

Link para o desafio:

It’s weird, your code passes for me on the English page. There must be a bug in the Portuguese page.

Really, I switched to the English version and it worked, it’s really a bug. thank you sir.

Thank you, for taking the time to bring this up, @juscelinodjj , and for finding a quick-fix @kevinSmith .

I have opened an issue about this: Portuguese Translation Breaks Challenge · Issue #42974 · freeCodeCamp/freeCodeCamp · GitHub

It appears Crowdin (what we use to translate the files) accidentally malformed the test.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.