Deck.prototype.getById >= 0.1.2
Purpose
Get the value by id (aka insert order)
Syntax
Deck#getById
(
Numberid
);
Parameters
id
Examples
var d = new Deck();
d.set('first', 'a');>>> 0
d.set('second', 'b');>>> 1
d.set('third', 'c');>>> 2
d.getById(0);>>> 'a'
d.getById(1);>>> 'b'
Comments