I am sending a tuple as my variable to javascript. But i could not find a way. I am using bottle framework.
Encode it into JSON. It'll convert to a javascript array.