Code Challenge 1:

In PHP or JavaScript, create a function, which will accept an array as an argument and return an array containing only unique instances of the values in the given array that occur an odd number of times (data types of the array items don’t matter–I should be able to pass it [1,1,1,'string','string',null, null,object,object,array,etc...] but I would expect ’1′ and 1 to be compared as different items).
(this outputs in console.log)

Code Challenge 2:

In PHP or JavaScript, write a class to represent a deck of cards. This class must have a method to shuffle the deck, and a method to return a card from the top of the deck. If the language has a built in way to randomize a set, show the use of that method but also roll your own (you know how it works).