Changed the behavior of Array.pop() when called with a numeric parameter: now it removes last N entries from array, instead to remove an element at a given index;
Changed the behavior of Array.pop() when called with a numeric parameter: now it removes last N entries from array, instead to remove an element at a given index;

Example:
	[1,2,3,4,5].pop(2);		# returns: [4,5] (before it returned '3')

This feature has been added to Array.shift() as well.

trizen/sidef,trizen/sidef,trizen/sidef,trizen/sidef