Który to, przyznać się ( ͡° ͜ʖ ͡°)
Array.prototype.values()
Metoda values() zwraca nowy obiekt Array Iterator , który zawiera wartości dla każdego indeksu w tablicy.
var a = ['w', 'y', 'k', 'o', 'p'];
var iterator = a.values();
console.log(iterator.next().value); // w
console.log(iterator.next().value); // y
console.log(iterator.next().value); // k
console.log(iterator.next().value); // o
console.log(iterator.next().value); // p
Array.prototype.values()
Metoda values() zwraca nowy obiekt Array Iterator , który zawiera wartości dla każdego indeksu w tablicy.
var a = ['w', 'y', 'k', 'o', 'p'];
var iterator = a.values();
console.log(iterator.next().value); // w
console.log(iterator.next().value); // y
console.log(iterator.next().value); // k
console.log(iterator.next().value); // o
console.log(iterator.next().value); // p
Jak myślicie, po całym cyrku CVIDOWYM najbardziej znienawidzoną grupą społeczną będą lekarze, czy policjanci?
Jeżeli sądzisz, ze lekarze, dajesz "+" .
Jeżeli sądzisz, że policjanci, dajesz "-" .
( ͡°( ͡° ͜ʖ( ͡° ͜ʖ ͡°)ʖ ͡°) ͡°)
Komentarz usunięty przez moderatora