We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

This translation is incomplete. Please help translate this article from English.


values() methodu dizideki tüm elemanları içeren yeni bir (Dizi yineleyici)  nesnesi döner

var a = ['e', 'l', 'm', 'a']; 
var yineleyici = a.values();

console.log(yineleyici.next().value); // e 
console.log(yineleyici.next().value); // l 
console.log(yineleyici.next().value); // m 
console.log(yineleyici.next().value); // a 



Dönüş değeri

Yeni bir Array yineleyici nesne.


for...of loop ile yineleme

var arr = ['e', 'l', 'm', 'a'];
var yineleyici = arr.values();

for (let harf of yineleyici) {


Specification Status Comment
ECMAScript 2015 (6th Edition, ECMA-262)
The definition of 'Array.prototype.values' in that specification.
Standard Initial definition.
ECMAScript Latest Draft (ECMA-262)
The definition of 'Array.prototype.values' in that specification.

Web tarayıcı uyumluluğu

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support66 Yes60 No539
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support6666 Yes60539 No

See also

Document Tags and Contributors

Contributors to this page: NizamettinTemel
Last updated by: NizamettinTemel,