Skip to content
  • 0 Votes
    4 Posts
    2k Views
    L

    Hi. You're right. There has to be a type. For objects, you should use "var".

    signal closeClick(var options);

    It is an object not because of the parameter type, but because of its content.

    var options = {"cancel": false};