Example #1
0
			assert.throws(function() {
				passed.pop();
			});
Example #2
0
		it("pop", function() {
			assert.equal(a.pop(), 4);
			assert.equal(a.length, 3);
		});
Example #3
0
		it("pop empty list", function() {
			assert.equal(a.pop(), null);
		});