joyent/node — Issue #2773: array.pop/shift omits a function
Author: culebron
Created: 2012-02-17 17:23:18+00:00
State: open

Xubuntu 11.10, compiled locally and installed system-wide:

culebron@vostro:~$ node
> l = [1, 75, 84, function() { console.log('aseuht') }]
[ 1, 75, 84, [Function] ]
> l.pop()
84
> l
[ 1, 75 ]