CallFunction(nameFunction = "", param = []) {
if (self["c3_callFunction"] && nameFunction != "") {
if (param.length === 0) {self["c3_callFunction"](nameFunction);}
else {self["c3_callFunction"](nameFunction, param);}
}
}
My question is: what is the correct way between self.c3_callFunction("name", ["param1", "param2"]) and self["c3_callFunction"]("name", ["param1", "param2"])?
I do not know if it's a bug or a lack in the documentation. I know for external api I must to use string syntax but I did not think it was for official API.