Untitled
unknown
plain_text
2 years ago
420 B
5
Indexable
function text(input) {
//Напишете функция, която чете елементите на масив
let index = 0;
while (true) {
let string = input[index]
index ++;
if (string ==="Stop") {
break;
}
console.log(string)
}
}
text
(["Nakov",
"SoftUni",
"Sofia",
"Bulgaria",
"SomeText",
"Stop",
"AfterStop",
"Europe",
"HelloWorld"])
Editor is loading...