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