Hello, What language are the Rosetta code challenges in?

Tell us what’s happening:
Describe your issue in detail here.

**Your code so far**

function getFinalOpenedDoors(numDoors) {

doors[numDoors]; 

for (i = 0; i < numDoors; ++i) {
  doors[i] = "Open"; 
}

for (i = 0; i < numDoors; i += 2) {
  doors[i] = "Closed";
}

for (i = 0; i < numDoors; i += 3) {
  if (doors[i] == "Open") {
    doors[i] = "Closed"; 
  }
  else if (doors[i] == "Closed") {
    doors[i] = "Open"; 
  }
}



}
**Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36

Challenge: 100 doors

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

Learning to describe problems is hard, but it is an important part of learning how to code.

Also, the more information you give us, the more likely we are to be able to help.


The code you posted is Javascript.