hey guys i'm having difficulty when it comes to adding a value to a array key...i've tried to push array and also looked on the internet but i've had no joy.
- var arr = {'words' : 'hello'};
i want to be able to add another value to the key so i get this result
- {'words' : ['hello', 'hey']};
i've tried
- arr.push("{'words':' 'hey'}");
and other variations...thank you