Returns an iterator of the index and items in this where the values s of the iterator are of the form [key : Object, value : Object] . The entries function is also returned for this[Symbol.iterator] so you can iterate over this directly to get the entries. See also keys() and values() .

Example: var x = new Map([['a', 'value A'], ['b', 'value B'], ['c', 'value C']]); // entries is returned by x[Symbol.iterator] so you can just // use x directly in the for (... of ...) loop for (var value of x) { console.dir(value); } // You can iterate over entries explicitly for (var entry of x.entries()) { console.dir(entry); } // Or access the iterator manually var entries = x.entries(); console.dir(entries.next()); console.dir(entries.next()); console.dir(entries.next()); console.dir(entries.next()); Run Results: