I have a simple function declared like this:
foo(data){
....
}
I am trying to call the function by sending it a key value like so:
foo({
A : {{1, 2}, {3, 4}}
});
But I keep getting the following error from my ide (netbeans)
Expected indent but found { A : {{1, 2}, {3, 4}} ^ Expected an operand but found , A : {{1, 2}, {3, 4}} ^
What am I doing wrong?