I'm calling a function like this:
myfunc($tab, {'top-left', 'bottom-left'}, defaults.tabRounded);
The function definition is:
function myfunc(obj, properties, value) {
Yet I get the error "Invalid object initializer". Is this because of the json argument? Or something else?