I don't think it's possible using existing javascript functions, but you can create one yourself.
You just need a for loop within you check if the current character is an ampersand or not. If so, you read the next couple of characters until a ; is found. All characters in between those 2 should then go into 1 array item, and then you move on to the next character.