Deck.prototype.push >= 0.1.2

Purpose

Add a value to the object, without a key

Syntax

Deck#push ( value Numberweight= 100 );

Parameters

value
weight

Return values

Number

The numeric id of the value

Examples

var a = new Deck();

a.push('value');>>> 0

a.push('value');>>> 1