logo

Crowdly

Browser

Add to Chrome

Метод current() потрібен в даній реалізації ітератора для var arr = (functio...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Метод current() потрібен в даній реалізації ітератора для

var arr = (function () {

var index = 0;

var data = [1,2,3,4,5];

var length = data.length;

return {

next: function () {

var element;

return data [index ++]

}

current: function () {

return data [index];

}

}

}) ()

0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.chnu.edu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome