How do I write array with variable in array in JavaScript

Hi guys,

In PHP, I have an array which look like this:

$arr = ['x' => [$a,$b]];

Code (markup):
How do I write this in JavaScript?

Thanks,

from JavaScript http://ift.tt/28Iwn3I
via IFTTT
Previous
Next Post »
Thanks for your comment