# Array.prototype.values() values() მეთოდი აბრუნებს მასივიდან ობიექტს რომელიც შეიცავს მასივის თითოეული ინდექსის მნიშვნელობებს. ### **Syntax**: values() ***რას აბრუნებს:*** აბრუნებს ობიექტს ## **Examples** ``` Input : const arr = ['a', 'b', 'c', 'd', 'e']; const iterator = arr.values(); for (let letter of iterator) { console.log(letter); Output : "a" "b" "c" "d" "e" Input : let NetflixShows = ['Stranger Things', 'Black Mirror', 'You', 'The Crown', 'Dark'] const it = NetflixShows.values() for (const value of it) { console.log(value); } Output :"Stranger Things" "Black Mirror" "You" "The Crown" "Dark" ``` [**ცნობები: MDN**](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/values)