Skip to content

Instantly share code, notes, and snippets.

View ChrisL108's full-sized avatar

Chris Lacaille ChrisL108

  • NativeFrame
  • Central Texas
View GitHub Profile
function updateInventory(arr1, arr2) {
// var newArr = [];
// Reverse array values so that the the
// first values are the names instead of amounts
arr1 = reverseArrayValues(arr1);
arr2 = reverseArrayValues(arr2);
console.log("BEFORE\narr1: "+ arr1 + "\narr2: "+arr2);