Deck.prototype.forEach >= 0.1.2

Purpose

Iterate over the sorted items

Syntax

Deck#forEach ( Functionfnc );

Parameters

fnc

Examples

var d = new Deck(),
    result = '';

d.set('b', 'b');
d.push('c');
d.push('d');
d.set('a', 'a', 900);

d.forEach(function(val) {
	result += val;
});
>>> `val` is now 'abcd'