How to let a javascript method return an array?
I'd like to return for example [1,2] from a function. How do I do that?

How to let a javascript method return an array?
===

I'd like to return for example [1,2] from a function. How do I do that?
