Implementation of a Stack without Array - Push and Pop

Stack implementation

by chris richarde

HTML

<input type="textbox" id="value" />
<input type="button" id="stack" value="queue" onClick="Math();" />
<p id="output"></p><br>

JavaScript

var queue = function{
this.first=null;
this.length=0;

}

var Node = function(content){
this.next=null;
this.content=content;
}