This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * See: http://stackoverflow.com/a/1885766 | |
| * | |
| * Note: because this function transfers array values | |
| * to an object's properties, the result set will consist | |
| * of unique values. Given [1,2,3,3] and [3,3,4,5] this | |
| * function will return [3]. | |
| * | |
| * This function attempts to avoid doing extra work | |
| * by assigning all values from the array given as |