This could be a silly question but, I´m way too new at javascript. And i´m thinking this more than it should.
I´ll set an example:
I have:
animals['Cat', 'Dog'];
and,
mood['Sad' , 'Happy'];
i want:
animalmood[0]=('Cat', 'Happy')
animalmood[1]=('Cat', 'Sad')
animalmood[2]=('Dog', 'Happy')
animalmood[3]=('Dog' 'Sad')
How can this be achieved?
What would be the correct syntax for it? Any help is welcome.