Suppose that I have an an array of strings and a map (that I can eventually serialize to JSON), how can I call a javascript function function store in db.system.js that accepts an array and a dictionary?
db.Run(bson.M{"eval": "myStoredFunction(<MY ARRAY>, <MY DICTIONARY>);"})