<commit_before>function Deck () {
  this.cards = [];
}

Deck.prototype.createNumbers = function() {
  var nums = [1,2,3,4,5,6,7,8,9,10];
  var duplicate = _.clone(nums);
  var combine = _.concat(nums, duplicate);
  return combine;
};

var deck = new Deck;
var nums = deck.createNumbers();
console.log(nums);<commit_msg>write shuffleNumbers function<commit_after>function Deck () {
  this.cards = [];
}

Deck.prototype.createNumbers = function() {
  var nums = [1,2,3,4,5,6,7,8,9,10];
  var duplicate = _.clone(nums);
  var combine = _.concat(nums, duplicate);
  return combine;
};

Deck.prototype.shuffleNumbers = function(numbers) {
  var shuffled = _.shuffle(numbers);
  return shuffled;
}

var deck = new Deck;
var nums = deck.createNumbers();
var shuffled = deck.shuffleNumbers(nums);
console.log(shuffled);
{'fraction_non_alphanumeric': 0.16029593094944514, 'fraction_numerical': 0.027127003699136867, 'mean_word_length': 4.841726618705036, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1291043', 'n_tokens_mistral': 306, 'n_tokens_neox': 293, 'n_words': 61}