var deck = require('deck'); var x = deck.pick([ 1, 2, 3, 4 ]); console.log(x);